[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / set-push-pop-directives-bad.s
blob9e259e0f3f4954c485b1e786da23e9d44270470f
1 # RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 2>%t1
2 # RUN: FileCheck %s < %t1
4 # Check only one error per statement.
6 .text
7 .set pop
8 # CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push
9 # CHECK-NOT: :[[@LINE-1]]:
10 .set push
11 .set pop
12 .set pop
13 # CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push
14 # CHECK-NOT: :[[@LINE-1]]:
15 .set push foo
16 # CHECK: :[[@LINE-1]]:19: error: unexpected token, expected end of statement
17 # CHECK-NOT: :[[@LINE-1]]:
18 .set pop bar
19 # CHECK: :[[@LINE-1]]:18: error: unexpected token, expected end of statement
20 # CHECK-NOT: :[[@LINE-1]]:
21 .set hardfloat
22 .set push
23 .set softfloat
24 add.s $f2, $f2, $f2
25 # CHECK: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled
26 # CHECK-NOT: :[[@LINE-1]]:
27 .set pop
28 add.s $f2, $f2, $f2
29 # CHECK-NOT: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled
30 # CHECK-NOT: :[[@LINE-1]]: