target-i386: Use gen_lea_v_seg in pusha/popa
commitd37ea0c04723f3e15fde55fe97cff6278159929b
authorRichard Henderson <rth@twiddle.net>
Thu, 17 Dec 2015 19:19:22 +0000 (17 11:19 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Feb 2016 14:46:54 +0000 (9 15:46 +0100)
treec759fc4a10ff92a3a590b260b5fdca1960392434
parent3558f8055f37a34762b7a2a0f02687e6eeab893d
target-i386: Use gen_lea_v_seg in pusha/popa

More centralization of handling of segment bases.
Also fixes the note about 16-bit wrap around not fully handled.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1450379966-28198-7-git-send-email-rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/translate.c