target-i386: fix decoding of negative 4-byte displacements
commit8c0e6340fb53cb3f94c0f43abb19eb485f30840e
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Jun 2010 14:27:33 +0000 (4 16:27 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 4 Jun 2010 19:48:53 +0000 (4 19:48 +0000)
tree8eec228c9a8ba5d1e14a8dfcdea1929fae05f27f
parent358c360feb346dff8f911e2d1dbcdd6319393f1d
target-i386: fix decoding of negative 4-byte displacements

Negative four byte displacements need to be sign-extended after
c086b783eb7a578993d6d2ab62c4c2666800b63d.  Do so.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-i386/translate.c