OSDN Git Service

target-i386: Tidy extend + move
authorRichard Henderson <rth@twiddle.net>
Tue, 5 Nov 2013 01:31:34 +0000 (11:31 +1000)
committerRichard Henderson <rth@twiddle.net>
Tue, 7 Jan 2014 19:36:32 +0000 (11:36 -0800)
commita7fbcbe538518108a967306c29dbb0fe76e0b512
treeb0ea0db643280122251c61fbedfe556699815436
parentd5601ad0235679a1b58e8975a34f63c5f039af36
target-i386: Tidy extend + move

For the known MO_32/MO_64 cases, we don't need to extend a 32-bit temp
into a 64-bit temp before storing into the hardware register.

We do need the extension for the MO_8/MO_16 cases, in order for the
deposit_tl operation to work, so leave those alone.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/translate.c