Re: [Qemu-devel] [PATCH 23/23] target-sparc: Optimize conditionals using SUBCC

2012-10-07 Thread Aurelien Jarno
This patch breaks the boot of a linux sparc64 kernel very early in the boot process. The boot hangs after: | OpenBIOS for Sparc64 | Configuration device id QEMU version 1 machine id 0 | kernel addr 404000 size 5be6b8 | kernel cmdline root=/dev/vda4 console=ttyS0 | CPUs: 1 x SUNW,UltraSPARC-IIi | U

Re: [Qemu-devel] [PATCH 23/23] target-sparc: Optimize conditionals using SUBCC

2012-10-07 Thread Richard Henderson
On 10/07/2012 11:48 AM, Blue Swirl wrote: > This is not yet optimal, we could do the same trick as is done for x86 > for cmp/jcc case (target-i386/translate.c:889), but it's still an > improvement so I applied it with others. It's trickier with sparc, because of the (exceedingly rare) conditional

Re: [Qemu-devel] [PATCH 23/23] target-sparc: Optimize conditionals using SUBCC

2012-10-07 Thread Blue Swirl
On Fri, Oct 5, 2012 at 11:55 PM, Richard Henderson wrote: > Aka "normal" comparisons. We now have the infrastructure to > pass back non-boolean results from gen_compare. This will > automatically get used by both branches and conditional moves. This is not yet optimal, we could do the same tric

[Qemu-devel] [PATCH 23/23] target-sparc: Optimize conditionals using SUBCC

2012-10-05 Thread Richard Henderson
Aka "normal" comparisons. We now have the infrastructure to pass back non-boolean results from gen_compare. This will automatically get used by both branches and conditional moves. Signed-off-by: Richard Henderson --- target-sparc/translate.c | 192 -