]> git.proxmox.com Git - qemu.git/commit
target-i386: fix helper_fscale() wrt softfloat
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 20 Apr 2011 11:04:23 +0000 (13:04 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 25 Apr 2011 09:18:33 +0000 (11:18 +0200)
commitbe1c17c7fdc16d9cb88f4092f23a494b942b68d7
tree8efd5c6494eb0efd390b9a63a0fa43c9bff6864d
parent4cc5383f807a7d70942de51326a8dddad7331fa5
target-i386: fix helper_fscale() wrt softfloat

Use the scalbn softfloat function to implement helper_fscale(). This
fixes corner cases (e.g. NaN) and makes a few more GNU libc math tests
to pass.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/exec.h
target-i386/op_helper.c