[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / ARM / cpu-test.s
blob7a6190758884b7a583157f1b5746aed8038be359
1 // RUN: not llvm-mc -o - -triple arm-gnueabi-freebsd11.0 < %s > %t 2> %t2
2 // RUN: FileCheck %s < %t
3 // RUN: FileCheck %s --check-prefix=CHECK-ERROR < %t2
5 // CHECK: .cpu cortex-a8
6 .cpu cortex-a8
7 // CHECK: dsb sy
8 dsb
9 .cpu arm9
10 // CHECK-ERROR: error: instruction requires: data-barriers
11 dsb
12 // CHECK-ERROR: error: Unknown CPU name
13 .cpu foobar
14 // CHECK: .cpu cortex-m3
15 .cpu cortex-m3
16 // CHECK: sub sp, #16
17 sub sp,#16