OSDN Git Service

target-i386: optimize setcc instructions
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Oct 2012 21:00:10 +0000 (23:00 +0200)
committerRichard Henderson <rth@twiddle.net>
Mon, 18 Feb 2013 23:03:57 +0000 (15:03 -0800)
commitc365395e9bd2b3bcac48ef562c187ea6ab9820ad
treecad75bbb1e297b40f38f469bb657fb27c8603a1c
parentbe10b289d697420b6e0d8d1a681aa64555066639
target-i386: optimize setcc instructions

Reconstruct the arguments for complex conditions involving CC_OP_SUBx (BE,
L, LE).  In the others do it via setcond and gen_setcc_slow (which is
not that slow in many cases).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/translate.c