diff options
| author | Richard Henderson | 2020-05-05 19:40:23 +0200 |
|---|---|---|
| committer | Richard Henderson | 2020-05-19 17:42:45 +0200 |
| commit | 0673ecdf6cb2b1445a85283db8cbacb251c46516 (patch) | |
| tree | 84dbaf6c8278f71e43beaaa716cea6bd2d5658cf /target | |
| parent | softfloat: Inline float32 compare specializations (diff) | |
| download | qemu-0673ecdf6cb2b1445a85283db8cbacb251c46516.tar.gz qemu-0673ecdf6cb2b1445a85283db8cbacb251c46516.tar.xz qemu-0673ecdf6cb2b1445a85283db8cbacb251c46516.zip | |
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')
| -rw-r--r-- | target/s390x/vec_fpu_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/vec_fpu_helper.c b/target/s390x/vec_fpu_helper.c index a48bd704bc..c1564e819b 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) { |
