Commit 998faa15 by Richard Sandiford

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
parent cb176538
2020-01-22 Richard Sandiford <richard.sandiford@arm.com> 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 * g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias
templates. templates.
......
...@@ -82,7 +82,7 @@ permute_vnx8hf (__SVFloat16_t x, __SVFloat16_t y) ...@@ -82,7 +82,7 @@ permute_vnx8hf (__SVFloat16_t x, __SVFloat16_t y)
** ret ** ret
*/ */
__SVFloat32_t __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); return __builtin_shuffle ((vnx4sf) x, (vnx4sf) y, (vnx4si) MASK_8);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment