[gcc/devel/c++-modules] Fix gcc.target/aarch64/sve/sel_3.c for big-endian targets
Nathan Sidwell
nathan@gcc.gnu.org
Fri Jan 24 14:39:00 GMT 2020
https://gcc.gnu.org/g:998faa15e9c7b6b21d0b1cc0dd107da1bcb5641f
commit 998faa15e9c7b6b21d0b1cc0dd107da1bcb5641f
Author: Richard Sandiford <richard.sandiford@arm.com>
Date: Tue Jan 21 16:45:55 2020 +0000
Fix gcc.target/aarch64/sve/sel_3.c for big-endian targets
A pasto in this test meant that we needed extra reverse instructions
for big-endian targets.
2020-01-22 Richard Sandiford <richard.sandiford@arm.com>
gcc/testsuite/
* gcc.target/aarch64/sve/sel_3.c (permute_vnx4sf): Take __SVFloat32_t
rather than __SVFloat16_t
Diff:
---
gcc/testsuite/ChangeLog | 5 +++++
gcc/testsuite/gcc.target/aarch64/sve/sel_3.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fc3d9618c..d844a3c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2020-01-22 Richard Sandiford <richard.sandiford@arm.com>
+ * gcc.target/aarch64/sve/sel_3.c (permute_vnx4sf): Take __SVFloat32_t
+ rather than __SVFloat16_t
+
+2020-01-22 Richard Sandiford <richard.sandiford@arm.com>
+
* g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias
templates.
diff --git a/gcc/testsuite/gcc.target/aarch64/sve/sel_3.c b/gcc/testsuite/gcc.target/aarch64/sve/sel_3.c
index 0de1fae..36ec15b 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve/sel_3.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/sel_3.c
@@ -82,7 +82,7 @@ permute_vnx8hf (__SVFloat16_t x, __SVFloat16_t y)
** ret
*/
__SVFloat32_t
-permute_vnx4sf (__SVFloat16_t x, __SVFloat16_t y)
+permute_vnx4sf (__SVFloat32_t x, __SVFloat32_t y)
{
return __builtin_shuffle ((vnx4sf) x, (vnx4sf) y, (vnx4si) MASK_8);
}
More information about the Gcc-cvs
mailing list