softfloat: remove float64_trunc_to_int

It has not had users since f83311e476 ("target-m68k: use floatx80
internally", 2017-06-21).

Note that no other bit-width has floatX_trunc_to_int.

Backports commit c953da8f0be5e026d1c9128660736d72294feb3e from qemu
This commit is contained in:
Emilio G. Cota 2018-10-08 10:57:51 -04:00 committed by Lioncash
parent df8790284f
commit 9f08fb35bc
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
18 changed files with 6536 additions and 22 deletions

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_aarch64
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_aarch64
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_aarch64
#define float64_trunc_to_int float64_trunc_to_int_aarch64
#define float64_unordered float64_unordered_aarch64
#define float64_unordered_quiet float64_unordered_quiet_aarch64
#define float_raise float_raise_aarch64

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_aarch64eb
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_aarch64eb
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_aarch64eb
#define float64_trunc_to_int float64_trunc_to_int_aarch64eb
#define float64_unordered float64_unordered_aarch64eb
#define float64_unordered_quiet float64_unordered_quiet_aarch64eb
#define float_raise float_raise_aarch64eb

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_arm
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_arm
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_arm
#define float64_trunc_to_int float64_trunc_to_int_arm
#define float64_unordered float64_unordered_arm
#define float64_unordered_quiet float64_unordered_quiet_arm
#define float_raise float_raise_arm

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_armeb
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_armeb
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_armeb
#define float64_trunc_to_int float64_trunc_to_int_armeb
#define float64_unordered float64_unordered_armeb
#define float64_unordered_quiet float64_unordered_quiet_armeb
#define float_raise float_raise_armeb

View file

@ -1410,13 +1410,6 @@ float64 float64_round_to_int(float64 a, float_status *s)
return float64_round_pack_canonical(pr, s);
}
float64 float64_trunc_to_int(float64 a, float_status *s)
{
FloatParts pa = float64_unpack_canonical(a, s);
FloatParts pr = round_to_int(pa, float_round_to_zero, 0, s);
return float64_round_pack_canonical(pr, s);
}
/*
* Returns the result of converting the floating-point value `a' to
* the two's complement integer format. The conversion is performed

View file

@ -665,7 +665,6 @@ symbols = (
'float64_to_uint64',
'float64_to_uint64_round_to_zero',
'float64_to_uint64_scalbn',
'float64_trunc_to_int',
'float64_unordered',
'float64_unordered_quiet',
'float_raise',

View file

@ -540,7 +540,6 @@ float128 float64_to_float128(float64, float_status *status);
| Software IEC/IEEE double-precision operations.
*----------------------------------------------------------------------------*/
float64 float64_round_to_int(float64, float_status *status);
float64 float64_trunc_to_int(float64, float_status *status);
float64 float64_add(float64, float64, float_status *status);
float64 float64_sub(float64, float64, float_status *status);
float64 float64_mul(float64, float64, float_status *status);

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_m68k
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_m68k
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_m68k
#define float64_trunc_to_int float64_trunc_to_int_m68k
#define float64_unordered float64_unordered_m68k
#define float64_unordered_quiet float64_unordered_quiet_m68k
#define float_raise float_raise_m68k

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_mips
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_mips
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_mips
#define float64_trunc_to_int float64_trunc_to_int_mips
#define float64_unordered float64_unordered_mips
#define float64_unordered_quiet float64_unordered_quiet_mips
#define float_raise float_raise_mips

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_mips64
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_mips64
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_mips64
#define float64_trunc_to_int float64_trunc_to_int_mips64
#define float64_unordered float64_unordered_mips64
#define float64_unordered_quiet float64_unordered_quiet_mips64
#define float_raise float_raise_mips64

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_mips64el
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_mips64el
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_mips64el
#define float64_trunc_to_int float64_trunc_to_int_mips64el
#define float64_unordered float64_unordered_mips64el
#define float64_unordered_quiet float64_unordered_quiet_mips64el
#define float_raise float_raise_mips64el

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_mipsel
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_mipsel
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_mipsel
#define float64_trunc_to_int float64_trunc_to_int_mipsel
#define float64_unordered float64_unordered_mipsel
#define float64_unordered_quiet float64_unordered_quiet_mipsel
#define float_raise float_raise_mipsel

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_powerpc
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_powerpc
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_powerpc
#define float64_trunc_to_int float64_trunc_to_int_powerpc
#define float64_unordered float64_unordered_powerpc
#define float64_unordered_quiet float64_unordered_quiet_powerpc
#define float_raise float_raise_powerpc

3268
qemu/riscv32.h Normal file

File diff suppressed because it is too large Load diff

3268
qemu/riscv64.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_sparc
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_sparc
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_sparc
#define float64_trunc_to_int float64_trunc_to_int_sparc
#define float64_unordered float64_unordered_sparc
#define float64_unordered_quiet float64_unordered_quiet_sparc
#define float_raise float_raise_sparc

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_sparc64
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_sparc64
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_sparc64
#define float64_trunc_to_int float64_trunc_to_int_sparc64
#define float64_unordered float64_unordered_sparc64
#define float64_unordered_quiet float64_unordered_quiet_sparc64
#define float_raise float_raise_sparc64

View file

@ -659,7 +659,6 @@
#define float64_to_uint64 float64_to_uint64_x86_64
#define float64_to_uint64_round_to_zero float64_to_uint64_round_to_zero_x86_64
#define float64_to_uint64_scalbn float64_to_uint64_scalbn_x86_64
#define float64_trunc_to_int float64_trunc_to_int_x86_64
#define float64_unordered float64_unordered_x86_64
#define float64_unordered_quiet float64_unordered_quiet_x86_64
#define float_raise float_raise_x86_64