diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 21:58:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 21:58:28 +0000 |
commit | 6295be5cd2d1fb513608dff718f8a2347f5cee8b (patch) | |
tree | 15a2a6e76973744069dc9d9d8924af83e481e28d | |
parent | dcc99f8d3d89e7a5a0b62398f7ec5fc56895187d (diff) | |
download | qemu-6295be5cd2d1fb513608dff718f8a2347f5cee8b.tar.gz qemu-6295be5cd2d1fb513608dff718f8a2347f5cee8b.tar.bz2 qemu-6295be5cd2d1fb513608dff718f8a2347f5cee8b.zip |
REXB optimization cannot be done at this level
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4420 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | tcg/x86_64/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index 94a767a3cb..f11bc669f2 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -235,7 +235,7 @@ static inline void tcg_out_opc(TCGContext *s, int opc, int r, int rm, int x) int rex; rex = ((opc >> 6) & 0x8) | ((r >> 1) & 0x4) | ((x >> 2) & 2) | ((rm >> 3) & 1); - if (rex || ((opc & P_REXB) && r >= 4)) { + if (rex || (opc & P_REXB)) { tcg_out8(s, rex | 0x40); } if (opc & P_EXT) |