Home | History | Annotate | Download | only in AArch64
      1 // RUN: not llvm-mc -triple arm64-apple-ios -mcpu=cyclone %s 2>&1 | FileCheck %s
      2 
      3     crc32b w0, w1, w5
      4     crc32h w3, w5, w6
      5     crc32w w19, wzr, w20
      6     crc32x w3, w5, x20
      7 CHECK: error: instruction requires: crc
      8 CHECK:     crc32b w0, w1, w5
      9 CHECK: error: instruction requires: crc
     10 CHECK:     crc32h w3, w5, w6
     11 CHECK: error: instruction requires: crc
     12 CHECK:     crc32w w19, wzr, w20
     13 CHECK: error: instruction requires: crc
     14 CHECK:     crc32x w3, w5, x20
     15 
     16     crc32cb w5, w10, w15
     17     crc32ch w3, w5, w7
     18     crc32cw w11, w13, w17
     19     crc32cx w19, w23, x29
     20 CHECK: error: instruction requires: crc
     21 CHECK:     crc32cb w5, w10, w15
     22 CHECK: error: instruction requires: crc
     23 CHECK:     crc32ch w3, w5, w7
     24 CHECK: error: instruction requires: crc
     25 CHECK:     crc32cw w11, w13, w17
     26 CHECK: error: instruction requires: crc
     27 CHECK:     crc32cx w19, w23, x29
     28