aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-12-16 10:49:00 +0000
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-12-16 10:50:29 +0000
commit0a68862e782847752be0ea2b2a987278cdbefc9e (patch)
tree44c834009b50a536533a48fa980258fb42105381
parent2c1ac0bf3d44e4ca6e32533d8b498c7d1dbd2425 (diff)
downloadgcc-0a68862e782847752be0ea2b2a987278cdbefc9e.zip
gcc-0a68862e782847752be0ea2b2a987278cdbefc9e.tar.gz
gcc-0a68862e782847752be0ea2b2a987278cdbefc9e.tar.bz2
aarch64: fix: ls64 tests fail on aarch64_be [PR103729]
This patch is sorting issue with LS64 intrinsics tests failing with AArch64_be targets. gcc/ChangeLog: PR target/103729 * config/aarch64/aarch64-simd.md (aarch64_movv8di): Allow big endian targets to move V8DI.
-rw-r--r--gcc/config/aarch64/aarch64-simd.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md
index 9ebf795a..f95a7e1 100644
--- a/gcc/config/aarch64/aarch64-simd.md
+++ b/gcc/config/aarch64/aarch64-simd.md
@@ -7265,9 +7265,8 @@
(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")]