xref: /aosp_15_r20/external/llvm/test/MC/ARM/invalid-crc32.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: not llvm-mc -triple=armv8 -show-encoding < %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker@ RUN: not llvm-mc -triple=thumbv8 -show-encoding < %s 2>&1 | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker        crc32cbeq  r0, r1, r2
5*9880d681SAndroid Build Coastguard Worker        crc32bne   r0, r1, r2
6*9880d681SAndroid Build Coastguard Worker        crc32chcc  r0, r1, r2
7*9880d681SAndroid Build Coastguard Worker        crc32hpl   r0, r1, r2
8*9880d681SAndroid Build Coastguard Worker        crc32cwgt  r0, r1, r2
9*9880d681SAndroid Build Coastguard Worker        crc32wle   r0, r1, r2
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker@ CHECK: error: instruction 'crc32cb' is not predicable, but condition code specified
12*9880d681SAndroid Build Coastguard Worker@ CHECK: error: instruction 'crc32b' is not predicable, but condition code specified
13*9880d681SAndroid Build Coastguard Worker@ CHECK: error: instruction 'crc32ch' is not predicable, but condition code specified
14*9880d681SAndroid Build Coastguard Worker@ CHECK: error: instruction 'crc32h' is not predicable, but condition code specified
15*9880d681SAndroid Build Coastguard Worker@ CHECK: error: instruction 'crc32cw' is not predicable, but condition code specified
16*9880d681SAndroid Build Coastguard Worker@ CHECK: error: instruction 'crc32w' is not predicable, but condition code specified
17