public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][committed]AArch64 shrn-combine-10: update test to current codegen.
@ 2021-11-16 15:35 Tamar Christina
  0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2021-11-16 15:35 UTC (permalink / raw)
  To: gcc-patches
  Cc: nd, Richard.Earnshaw, Marcus.Shawcroft, Kyrylo.Tkachov,
	richard.sandiford

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Hi All,

When the rshrn commit was reverted I missed this testcase.
This now updates it.

Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.

Committed under the obvious rule.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

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

--- inline copy of patch -- 
diff --git a/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c b/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c
index 3a1cfce93e9065e8d5b43a770b0ef24a17586411..dc9e9be94cbe4ba81d936dfaf178674b9da31040 100644
--- a/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c
+++ b/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c
@@ -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 } } */


-- 

[-- Attachment #2: rb15088.patch --]
[-- Type: text/x-diff, Size: 573 bytes --]

diff --git a/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c b/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c
index 3a1cfce93e9065e8d5b43a770b0ef24a17586411..dc9e9be94cbe4ba81d936dfaf178674b9da31040 100644
--- a/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c
+++ b/gcc/testsuite/gcc.target/aarch64/shrn-combine-10.c
@@ -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 } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-16 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 15:35 [PATCH][committed]AArch64 shrn-combine-10: update test to current codegen Tamar Christina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).