]> git.proxmox.com Git - mirror_qemu.git/commit - fpu/softfloat-macros.h
softfloat: Fix shift128Right for shift counts 64..127
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 2 Jun 2013 15:17:49 +0000 (16:17 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Jun 2013 16:36:12 +0000 (11:36 -0500)
commit4039736e6f7867a4f937145afec7ab56531c0be4
tree402baeeae294b8a8c2114fa71f2d35a5b31622d2
parentbc7d0e66741724216cc104034838eb34f0e94b8d
softfloat: Fix shift128Right for shift counts 64..127

shift128Right would give the wrong result for a shift count
between 64 and 127. This was never noticed because all of
our uses of this function are guaranteed not to use shift
counts in this range.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1370186269-24353-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
fpu/softfloat-macros.h