diff options
author | Richard Henderson | 2012-10-02 20:32:29 +0200 |
---|---|---|
committer | Aurelien Jarno | 2012-10-17 17:51:37 +0200 |
commit | 1305c451e67e3def030720013415103f5e0f5e11 (patch) | |
tree | ac3f3a855f82c2a844f5c1b15308dad6a7cc51d3 /hw/vfio_pci.c | |
parent | tcg: Constant fold add2 and sub2 (diff) | |
download | qemu-1305c451e67e3def030720013415103f5e0f5e11.tar.gz qemu-1305c451e67e3def030720013415103f5e0f5e11.tar.xz qemu-1305c451e67e3def030720013415103f5e0f5e11.zip |
tcg: Optimize half-dead add2/sub2
When x86_64 guest is not in 64-bit mode, the high-part of the 64-bit
add is dead. When the host is 32-bit, we can simplify to 32-bit
arithmetic.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/vfio_pci.c')
0 files changed, 0 insertions, 0 deletions