[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / set-mips-directives-bad.s
blob68a0da856b28e8e57860c933be9a7c73babe42b2
1 # RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips1 2>%t1
2 # RUN: FileCheck %s < %t1
4 # FIXME: At the moment we emit the wrong error message if we try to assemble the
5 # ll instruction using an unsupported architecture so we just check for "error"
6 # and ignore the rest of the message.
8 .text
9 .set noreorder
10 .set mips1
11 ll $2,-2($2) # CHECK: error:
12 .set mips2
13 dadd $2,$2,$2 # CHECK: error: instruction requires a CPU feature not currently enabled
14 .set mips3
15 ldxc1 $f8,$2($4) # CHECK: error: instruction requires a CPU feature not currently enabled
16 .set mips4
17 luxc1 $f19,$2($4) # CHECK: error: instruction requires a CPU feature not currently enabled
18 .set mips5
19 clo $2,$2 # CHECK: error: instruction requires a CPU feature not currently enabled
20 .set mips32
21 rotr $2,15 # CHECK: error: instruction requires a CPU feature not currently enabled
22 .set mips32r2
23 mod $2, $4, $6 # CHECK: error:instruction requires a CPU feature not currently enabled
24 .set mips64r3
25 .set mips32r3
26 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled
27 .set mips64r3
28 .set mips32r5
29 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled
30 .set mips32r6
31 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled
32 .set mips64
33 drotr32 $1,$14,15 # CHECK: error: instruction requires a CPU feature not currently enabled
34 .set mips64r2
35 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled
36 .set mips64r6
37 .set mips64r3
38 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled
39 .set mips64r6
40 .set mips64r5
41 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled