[haiku-development] Re: PPC Port

  • From: Andreas Färber <andreas.faerber@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 21 Aug 2010 17:13:30 +0200

Am 19.08.2010 um 03:09 schrieb Andreas Färber:

Am 19.08.2010 um 02:26 schrieb Hike Danakian:

Ok, so it builds now, with some pragma changes, but it still gives the
following errors in qemu...
invalid/unsupported opcode: 00 - 00 - 00 (00000000) fff0245c 1
invalid/unsupported opcode: 00 - 00 - 00 (00000000) 00008724 0

Is there a known fix for this? I know it had come up a while ago, but
it wasn't clear whether it had been fixed.

Don't bother testing released versions of QEMU for ppc; on HEAD such warnings had been removed.

Was a bit brief there...

QEMU's dynamic translator (TCG) processes a Translation Block (TB) at a time. If it encountered an instruction it couldn't process, it would emit such an "invalid/unsupported opcode" warning. This is before the instruction is attempted to execute though, so it's possible that the "instruction" is never reached and does no harm (padding, optimizations, embedded data). The warning has therefore been suppressed on the console:

http://repo.or.cz/w/qemu.git/commit/6c7123212223eb7f281230e9852f011255d73582

The actual ppc problem on QEMU is being tracked here:
http://dev.haiku-os.org/ticket/6071

Hope that explains,

Andreas

Other related posts: