mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
5da2d2d8e5
commit
0673ecdf6c
3 changed files with 42 additions and 229 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue