qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Performance bug in tcg/i386 output:
@ 2009-11-08 17:47 Chad
  2009-11-08 17:56 ` Laurent Desnogues
  0 siblings, 1 reply; 2+ messages in thread
From: Chad @ 2009-11-08 17:47 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

Running qemu[-i386] with -d out_asm and looking at qemu.out shows this
test/j**/jmp pattern repeatedly:

0xb1aa40f6:  test   %ecx,%ecx
0xb1aa40f8:  jne    0xb1aa4115
0xb1aa40fe:  jmp    0xb1aa4103
0xb1aa4103:  mov    $0xc0bf,%eax

Therefore there's a bug in the tcg generator creating many unnecessary
jmps.  It might get optimized out by the CPU, but it might not and it bloats
the asm output in any case...

- Chad

[-- Attachment #2: Type: text/html, Size: 455 bytes --]

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

end of thread, other threads:[~2009-11-08 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-08 17:47 [Qemu-devel] Performance bug in tcg/i386 output: Chad
2009-11-08 17:56 ` Laurent Desnogues

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