summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorAurelien Jarno2013-11-06 18:32:23 +0100
committerRichard Henderson2014-01-25 23:12:38 +0100
commitc9d78213b8bf6e0da9ff30b53c33e93fb0373249 (patch)
tree24631c5515f1a502465bc88b79d0c114e0295aee /include/exec
parentdisas/i386.c: disassemble movbe instruction (diff)
downloadqemu-c9d78213b8bf6e0da9ff30b53c33e93fb0373249.tar.gz
qemu-c9d78213b8bf6e0da9ff30b53c33e93fb0373249.tar.xz
qemu-c9d78213b8bf6e0da9ff30b53c33e93fb0373249.zip
tcg/i386: remove hardcoded P_REXW value
P_REXW is defined has a constant at the beginning of i386/tcg-target.c, but the corresponding bit is later used in a harcoded way, which defeat the purpose of a constant. Fix that by using a conditional expression operator instead of a shift. On x86 this actually makes the code slightly smaller as GCC does in practice (opc >> 8) & 8 instead of (opc & 0x800) >> 8 so the constants are smaller to load. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions