1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
2 @ RUN: | FileCheck %s -check-prefix CHECK-V7
3 @ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null 2>&1 %s \
4 @ RUN: | FileCheck %s -check-prefix CHECK-V8
11 @ CHECK-V7: error: architectural extension 'crc' is not allowed for the current base architecture
12 @ CHECK-V7-NEXT: .arch_extension crc
18 @ CHECK-V7: error: instruction requires: crc armv8
20 @ CHECK-V7: error: instruction requires: crc armv8
22 @ CHECK-V7: error: instruction requires: crc armv8
25 @ CHECK-V7: error: instruction requires: crc armv8
27 @ CHECK-V7: error: instruction requires: crc armv8
29 @ CHECK-V7: error: instruction requires: crc armv8
32 @ CHECK-V7: error: architectural extension 'crc' is not allowed for the current base architecture
33 @ CHECK-V7-NEXT: .arch_extension nocrc
39 @ CHECK-V7: error: instruction requires: crc armv8
40 @ CHECK-V8: error: instruction requires: crc
42 @ CHECK-V7: error: instruction requires: crc armv8
43 @ CHECK-V8: error: instruction requires: crc
45 @ CHECK-V7: error: instruction requires: crc armv8
46 @ CHECK-V8: error: instruction requires: crc
49 @ CHECK-V7: error: instruction requires: crc armv8
50 @ CHECK-V8: error: instruction requires: crc
52 @ CHECK-V7: error: instruction requires: crc armv8
53 @ CHECK-V8: error: instruction requires: crc
55 @ CHECK-V7: error: instruction requires: crc armv8
56 @ CHECK-V8: error: instruction requires: crc