]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: fix: ls64 tests fail on aarch64_be [PR103729]
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 16 Dec 2021 10:49:00 +0000 (10:49 +0000)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 16 Dec 2021 10:50:29 +0000 (10:50 +0000)
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

index 9ebf795a624f0183e0333349d0db7a71ba2d17dd..f95a7e1d91c97c9e981d75e71f0b49c02ef748ba 100644 (file)
 (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")]