linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [OT?] Unimplemented instructions on a G5?
@ 2004-04-01 13:51 Pantelis Antoniou
  2004-04-02 15:32 ` Segher Boessenkool
  0 siblings, 1 reply; 5+ messages in thread
From: Pantelis Antoniou @ 2004-04-01 13:51 UTC (permalink / raw)
  To: linuxppc-dev


Hello

I've recently came across a very strange problem.

I have some PPC code with some inline assembly for implementing
saturated arithmetic.

The code runs fine on a 8xx target and on the G4 development host.

When I upgraded to a G5 running Gentoo the same code terminates
with an illegal instruction trap.

The offending instruction is the seemingly harmless:

  mcrxr crX

   (Move to condition register from XER).

Does anyone have any idea if IBM left this instruction
unimplemented. Searching the docs I've found nothing.

It's not a deal-breaker but it is inconvinient to not be
able to run the target binaries on the host.

If it is unimplemented any idea of how hard it will be to
trap and emulate it?

Regards

Pantelis


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-05  6:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 13:51 [OT?] Unimplemented instructions on a G5? Pantelis Antoniou
2004-04-02 15:32 ` Segher Boessenkool
2004-04-02 15:49   ` David Edelsohn
2004-04-05  6:05     ` Pantelis Antoniou
2004-04-05  6:14   ` Pantelis Antoniou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).