public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][GCC] aarch64: fix: ls64 tests fail on aarch64_be [PR103729]
@ 2021-12-16 10:36 Przemyslaw Wirkus
  2021-12-16 10:45 ` Richard Sandiford
  0 siblings, 1 reply; 3+ messages in thread
From: Przemyslaw Wirkus @ 2021-12-16 10:36 UTC (permalink / raw)
  To: gcc-patches
  Cc: christophe.lyon, Richard Earnshaw, Richard Sandiford,
	Kyrylo Tkachov, Marcus Shawcroft

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

Hi,

This patch is sorting issue with LS64 intrinsics tests failing with
AArch64_be targets.

Regtested on aarch64_be_elf and aarch64_elf, no issues.

OK to install?

gcc/ChangeLog:

	PR target/PR103729
	* config/aarch64/aarch64-simd.md (aarch64_movv8di): Allow big endian
	targets to move V8DI.

[-- Attachment #2: rb15153.patch --]
[-- Type: application/octet-stream, Size: 786 bytes --]

diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md
index 9ebf795a624f0183e0333349d0db7a71ba2d17dd..f95a7e1d91c97c9e981d75e71f0b49c02ef748ba 100644
--- a/gcc/config/aarch64/aarch64-simd.md
+++ b/gcc/config/aarch64/aarch64-simd.md
@@ -7265,9 +7265,8 @@ (define_insn "*aarch64_mov<mode>"
 (define_insn "*aarch64_movv8di"
   [(set (match_operand:V8DI 0 "nonimmediate_operand" "=r,m,r")
 	(match_operand:V8DI 1 "general_operand" " r,r,m"))]
-  "!BYTES_BIG_ENDIAN
-   && (register_operand (operands[0], V8DImode)
-       || register_operand (operands[1], V8DImode))"
+  "(register_operand (operands[0], V8DImode)
+    || register_operand (operands[1], V8DImode))"
   "#"
   [(set_attr "type" "multiple,multiple,multiple")
    (set_attr "length" "32,16,16")]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-16 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 10:36 [PATCH][GCC] aarch64: fix: ls64 tests fail on aarch64_be [PR103729] Przemyslaw Wirkus
2021-12-16 10:45 ` Richard Sandiford
2021-12-16 10:52   ` Przemyslaw Wirkus

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).