qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] possible qemu miscompilation by latest gcc
@ 2010-01-21  6:15 John Regehr
  2010-01-21 16:57 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: John Regehr @ 2010-01-21  6:15 UTC (permalink / raw)
  To: qemu-devel

Hi folks-

Just wanted to let you know that perhaps the function 
helper_neon_rshl_s8() is being miscompiled by the latest gcc.

I'm using qemu 0.12.2 and gcc rev 156103, which is a pre-version of gcc 
4.5.  This is on an x86 machine running Ubuntu 9.10.

At -O2 or higher this is the resulting object code:

00002060 <helper_neon_rshl_s8>:
     2060:	31 c0                	xor    %eax,%eax
     2062:	c3                   	ret

If this is not the intended result, then either the function has a 
latent bug or else the compiler is doing something bad.

Hope this is helpful,

John Regehr

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

end of thread, other threads:[~2010-01-21 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21  6:15 [Qemu-devel] possible qemu miscompilation by latest gcc John Regehr
2010-01-21 16:57 ` Richard Henderson

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).