All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PPC]crnot and crnor
@ 2007-12-31  8:24 claude vittoria
  0 siblings, 0 replies; only message in thread
From: claude vittoria @ 2007-12-31  8:24 UTC (permalink / raw)
  To: qemu-devel

Hi,

I test the PPC fpu with machar test (http://orion.math.iastate.edu/burkardt/c_src/machar/machar.html).
I get an error with qemu-cvs :
invalid bits: 00000042 for opcode: 13 - 01 - 01 (4fdef042) 00037e60

ASM code :
00037e54 <__isnan>:
   37e54:	fc 00 04 8e 	mffs    f0
   37e58:	ff 00 00 8c 	mtfsb0  4*cr6+lt 
   37e5c:	ff 81 08 00 	fcmpu   cr7,f1,f1
   37e60:	4f de f0 42 	crnot   4*cr7+eq,4*cr7+eq  <=====================faillure here, crnot bx,by equivalent to crnor bx,by,by
   37e64:	7c 60 00 26 	mfcr    r3
   37e68:	54 63 ff fe 	rlwinm  r3,r3,31,31,31
   37e6c:	fd fe 05 8e 	mtfsf   255,f0
   37e70:	4e 80 00 20 	b

I don't understand why the decoding of this instruction fails.
Those seems to be the same error that I reported 1 month ago about crnand and a seg fault.

If someone has a clue...

Thanks,
Claude

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-31  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-31  8:24 [Qemu-devel] [PPC]crnot and crnor claude vittoria

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.