qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: claude vittoria <vittoric@wanadoo.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PPC]crnot and crnor
Date: Mon, 31 Dec 2007 09:24:57 +0100 (CET)	[thread overview]
Message-ID: <24703687.1646541199089497115.JavaMail.www@wwinf2220> (raw)

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

                 reply	other threads:[~2007-12-31  8:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24703687.1646541199089497115.JavaMail.www@wwinf2220 \
    --to=vittoric@wanadoo.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).