summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorAurelien Jarno2015-06-25 21:16:58 +0200
committerAlexander Graf2015-07-07 17:51:47 +0200
commit92f2b4e71e988ad2751c71717e9fe3387753442a (patch)
treefe3ebf9202d577f588880e1c3fd192cf4ca43dfa /scripts/switch-timer-api
parenttarget-s390x: fix EXECUTE instruction executing TRT (diff)
downloadqemu-92f2b4e71e988ad2751c71717e9fe3387753442a.tar.gz
qemu-92f2b4e71e988ad2751c71717e9fe3387753442a.tar.xz
qemu-92f2b4e71e988ad2751c71717e9fe3387753442a.zip
target-s390x: fix CONVERT TO BINARY (CVD, CVDY)
current_number being shift left by more than 32 bits, we can't use a simple int. Similarly use an int64_t type for the input binary value, to not get the -2^31 case wrong. Finally don't initialize shift to 4, it's already done in the for loop. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions