From: Richard Sandiford Date: Tue, 21 Jan 2020 16:45:55 +0000 (+0000) Subject: Fix gcc.target/aarch64/sve/sel_3.c for big-endian targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=998faa15e9c7b6b21d0b1cc0dd107da1bcb5641f;p=gcc.git 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 gcc/testsuite/ * gcc.target/aarch64/sve/sel_3.c (permute_vnx4sf): Take __SVFloat32_t rather than __SVFloat16_t --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fc3d9618c8e..d844a3cd2d2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-01-22 Richard Sandiford + + * gcc.target/aarch64/sve/sel_3.c (permute_vnx4sf): Take __SVFloat32_t + rather than __SVFloat16_t + 2020-01-22 Richard Sandiford * g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias diff --git a/gcc/testsuite/gcc.target/aarch64/sve/sel_3.c b/gcc/testsuite/gcc.target/aarch64/sve/sel_3.c index 0de1fae6d03..36ec15b7da6 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); }