aboutsummaryrefslogtreecommitdiff
path: root/target/s390x
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-05-05 10:40:23 -0700
committerRichard Henderson <richard.henderson@linaro.org>2020-05-19 08:42:45 -0700
commit0673ecdf6cb2b1445a85283db8cbacb251c46516 (patch)
tree84dbaf6c8278f71e43beaaa716cea6bd2d5658cf /target/s390x
parent5da2d2d8e53d80e92a61720ea995c86b33cbf25d (diff)
downloadqemu-0673ecdf6cb2b1445a85283db8cbacb251c46516.zip
qemu-0673ecdf6cb2b1445a85283db8cbacb251c46516.tar.gz
qemu-0673ecdf6cb2b1445a85283db8cbacb251c46516.tar.bz2
softfloat: Inline float64 compare specializations
Replace the float64 compare specializations with inline functions that call the standard float64_compare{,_quiet} functions. Use bool as the return type. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/s390x')
-rw-r--r--target/s390x/vec_fpu_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/vec_fpu_helper.c b/target/s390x/vec_fpu_helper.c
index a48bd70..c1564e8 100644
--- a/target/s390x/vec_fpu_helper.c
+++ b/target/s390x/vec_fpu_helper.c
@@ -174,7 +174,7 @@ void HELPER(gvec_wfk64)(const void *v1, const void *v2, CPUS390XState *env,
env->cc_op = wfc64(v1, v2, env, true, GETPC());
}
-typedef int (*vfc64_fn)(float64 a, float64 b, float_status *status);
+typedef bool (*vfc64_fn)(float64 a, float64 b, float_status *status);
static int vfc64(S390Vector *v1, const S390Vector *v2, const S390Vector *v3,
CPUS390XState *env, bool s, vfc64_fn fn, uintptr_t retaddr)
{