aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-10-12 09:23:39 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-10-24 15:27:19 +0200
commit620abfb004543404bef1953e25da2ad77352941a (patch)
tree1268f6527bb2357d6011ba215d804311851d3e81 /tcg
parent03514ac25c40ec3f2ffc493f1862ddd1353419f8 (diff)
downloadqemu-620abfb004543404bef1953e25da2ad77352941a.zip
qemu-620abfb004543404bef1953e25da2ad77352941a.tar.gz
qemu-620abfb004543404bef1953e25da2ad77352941a.tar.bz2
target-i386: fix 32-bit addresses in LEA
This was found with test-i386. The issue is that instructions such as addr32 lea (%eax), %rax did not perform a 32-bit extension, because the LEA translation skipped the gen_lea_v_seg step. That step does not just add segments, it also takes care of extending from address size to pointer size. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions