]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/ARM/invalid-crc32.s
Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / MC / ARM / invalid-crc32.s
1 @ RUN: not llvm-mc -triple=armv8 -show-encoding < %s 2>&1 | FileCheck %s
2 @ RUN: not llvm-mc -triple=thumbv8 -show-encoding < %s 2>&1 | FileCheck %s
3
4         crc32cbeq  r0, r1, r2
5         crc32bne   r0, r1, r2
6         crc32chcc  r0, r1, r2
7         crc32hpl   r0, r1, r2
8         crc32cwgt  r0, r1, r2
9         crc32wle   r0, r1, r2
10
11 @ CHECK: error: instruction 'crc32cb' is not predicable, but condition code specified
12 @ CHECK: error: instruction 'crc32b' is not predicable, but condition code specified
13 @ CHECK: error: instruction 'crc32ch' is not predicable, but condition code specified
14 @ CHECK: error: instruction 'crc32h' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'crc32cw' is not predicable, but condition code specified
16 @ CHECK: error: instruction 'crc32w' is not predicable, but condition code specified