]> Git Repo - qemu.git/commit - target-i386/translate.c
target-i386: convert gen_compute_eflags_c to TCG
authorRichard Henderson <[email protected]>
Wed, 23 Jan 2013 21:46:02 +0000 (13:46 -0800)
committerRichard Henderson <[email protected]>
Mon, 18 Feb 2013 23:03:57 +0000 (15:03 -0800)
commit06847f1f1a7cff71f68dc6416cdd729c01ae2305
tree8f22eb9c492f311f95c7a94a134b4b8034d03a8d
parent8115f117357a63bff84522caac6c3bcadee0a285
target-i386: convert gen_compute_eflags_c to TCG

Do the switch at translation time, converting the helper templates to
TCG opcodes.  In some cases CF can be computed with a single setcond,
though others it may require a little more work.

In the CC_OP_DYNAMIC case, compute the whole EFLAGS, same as for ZF/SF/PF.

Reviewed-by: Blue Swirl <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target-i386/translate.c
This page took 0.024694 seconds and 4 git commands to generate.