From 0a68862e782847752be0ea2b2a987278cdbefc9e Mon Sep 17 00:00:00 2001 From: Przemyslaw Wirkus Date: Thu, 16 Dec 2021 10:49:00 +0000 Subject: [PATCH] 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. --- gcc/config/aarch64/aarch64-simd.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md index 9ebf795a624..f95a7e1d91c 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")]