[llvm] r261759 - AArch64: remove CRC feature from Cyclone.

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 10:10:17 PST 2016


Author: tnorthover
Date: Wed Feb 24 12:10:17 2016
New Revision: 261759

URL: http://llvm.org/viewvc/llvm-project?rev=261759&view=rev
Log:
AArch64: remove CRC feature from Cyclone.

Turns out we don't actually support those instructions.

Added:
    llvm/trunk/test/MC/AArch64/cyclone-crc.s
Modified:
    llvm/trunk/lib/Target/AArch64/AArch64.td

Modified: llvm/trunk/lib/Target/AArch64/AArch64.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64.td?rev=261759&r1=261758&r2=261759&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64.td (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64.td Wed Feb 24 12:10:17 2016
@@ -122,7 +122,6 @@ def ProcCyclone : SubtargetFeature<"cycl
                                    [FeatureFPARMv8,
                                    FeatureNEON,
                                    FeatureCrypto,
-                                   FeatureCRC,
                                    FeaturePerfMon,
                                    FeatureZCRegMove, FeatureZCZeroing]>;
 

Added: llvm/trunk/test/MC/AArch64/cyclone-crc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/cyclone-crc.s?rev=261759&view=auto
==============================================================================
--- llvm/trunk/test/MC/AArch64/cyclone-crc.s (added)
+++ llvm/trunk/test/MC/AArch64/cyclone-crc.s Wed Feb 24 12:10:17 2016
@@ -0,0 +1,27 @@
+// RUN: not llvm-mc -triple arm64-apple-ios -mcpu=cyclone %s 2>&1 | FileCheck %s
+
+    crc32b w0, w1, w5
+    crc32h w3, w5, w6
+    crc32w w19, wzr, w20
+    crc32x w3, w5, x20
+CHECK: error: instruction requires: crc
+CHECK:     crc32b w0, w1, w5
+CHECK: error: instruction requires: crc
+CHECK:     crc32h w3, w5, w6
+CHECK: error: instruction requires: crc
+CHECK:     crc32w w19, wzr, w20
+CHECK: error: instruction requires: crc
+CHECK:     crc32x w3, w5, x20
+
+    crc32cb w5, w10, w15
+    crc32ch w3, w5, w7
+    crc32cw w11, w13, w17
+    crc32cx w19, w23, x29
+CHECK: error: instruction requires: crc
+CHECK:     crc32cb w5, w10, w15
+CHECK: error: instruction requires: crc
+CHECK:     crc32ch w3, w5, w7
+CHECK: error: instruction requires: crc
+CHECK:     crc32cw w11, w13, w17
+CHECK: error: instruction requires: crc
+CHECK:     crc32cx w19, w23, x29




More information about the llvm-commits mailing list