]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
shrn-combine-10: update test to current codegen.
authorTamar Christina <tamar.christina@arm.com>
Tue, 16 Nov 2021 15:39:28 +0000 (15:39 +0000)
committerTamar Christina <tamar.christina@arm.com>
Tue, 16 Nov 2021 15:39:28 +0000 (15:39 +0000)
When the rshrn commit was reverted I missed this testcase.
This now updates it.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/shrn-combine-10.c: Use shrn.

gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c

index 3a1cfce93e9065e8d5b43a770b0ef24a17586411..dc9e9be94cbe4ba81d936dfaf178674b9da31040 100644 (file)
@@ -6,7 +6,7 @@
 
 uint32x4_t foo (uint64x2_t a, uint64x2_t b)
 {
-  return vrshrn_high_n_u64 (vrshrn_n_u64 (a, 32), b, 32);
+  return vshrn_high_n_u64 (vshrn_n_u64 (a, 32), b, 32);
 }
 
 /* { dg-final { scan-assembler-times {\tuzp2\t} 1 } } */