]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: LoongArch: Remove from btrunc, ceil, and floor effective target allowlist
authorXi Ruoyao <xry111@xry111.site>
Wed, 5 Feb 2025 01:16:19 +0000 (09:16 +0800)
committerXi Ruoyao <xry111@xry111.site>
Tue, 11 Feb 2025 06:50:39 +0000 (14:50 +0800)
commitd171f214a43b1b18f1fc9b6aa1fc8a9e8c50953c
tree579aefef23a3803b8338e63ec9b0a00d5fd97fcb
parent30a3a557a54c1b3166d76624898779c3646d02b2
testsuite: LoongArch: Remove from btrunc, ceil, and floor effective target allowlist

Now that C default is C23, so we can no longer use LSX/LASX instructions
for these operations as the standard disallows raising INEXACT
exceptions.  So LoongArch is no longer suitable for these effective
targets.

Fix the test failures on gcc.dg/vect/vect-rounding-*.c.  For the old
standards or -ffp-int-builtin-inexact we already provide test coverage
with gcc.target/loongarch/vect-ftint.c.

gcc/testsuite/ChangeLog:

* lib/target-supports.exp
(check_effective_target_vect_call_btrunc): Drop LoongArch.
(check_effective_target_vect_call_btruncf): Likewise.
(check_effective_target_vect_call_ceil): Likewise.
(check_effective_target_vect_call_ceilf): Likewise.
(check_effective_target_vect_call_floor): Likewise.
(check_effective_target_vect_call_floorf): Likewise.
(check_effective_target_vect_call_lfloor): Likewise.
(check_effective_target_vect_call_lfloorf): Likewise.
gcc/testsuite/lib/target-supports.exp