commit | 620abfb004543404bef1953e25da2ad77352941a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 12 09:23:39 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Oct 24 15:27:19 2016 +0200 |
tree | 1268f6527bb2357d6011ba215d804311851d3e81 | |
parent | 03514ac25c40ec3f2ffc493f1862ddd1353419f8 [diff] |
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>