diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-05-10 14:48:17 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-17 15:27:15 -0700 |
commit | 03385dfdaaa2dc31bbd07d13244a6b037bfab4cc (patch) | |
tree | 77e87ee1eec1c3e5e6b2824ad2f6ce485a574a6f /target/unicore32 | |
parent | 5240a30dcc6ca85dc9352f351e2cc326402288ed (diff) | |
download | qemu-03385dfdaaa2dc31bbd07d13244a6b037bfab4cc.zip qemu-03385dfdaaa2dc31bbd07d13244a6b037bfab4cc.tar.gz qemu-03385dfdaaa2dc31bbd07d13244a6b037bfab4cc.tar.bz2 |
fpu/softfloat: Specialize on snan_bit_is_one
Only MIPS requires snan_bit_is_one to be variable. While we are
specializing softfloat behaviour, allow other targets to eliminate
this runtime check.
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Yongbok Kim <yongbok.kim@mips.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/unicore32')
-rw-r--r-- | target/unicore32/cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/unicore32/cpu.c b/target/unicore32/cpu.c index 29d160a..68f978d 100644 --- a/target/unicore32/cpu.c +++ b/target/unicore32/cpu.c @@ -70,7 +70,6 @@ static void unicore_ii_cpu_initfn(Object *obj) set_feature(env, UC32_HWCAP_CMOV); set_feature(env, UC32_HWCAP_UCF64); - set_snan_bit_is_one(1, &env->ucf64.fp_status); } static void uc32_any_cpu_initfn(Object *obj) @@ -83,7 +82,6 @@ static void uc32_any_cpu_initfn(Object *obj) set_feature(env, UC32_HWCAP_CMOV); set_feature(env, UC32_HWCAP_UCF64); - set_snan_bit_is_one(1, &env->ucf64.fp_status); } static void uc32_cpu_realizefn(DeviceState *dev, Error **errp) |