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.
11 ll $
2,-2($
2) # CHECK: error:
13 dadd $
2,$
2,$
2 # CHECK: error: instruction requires a CPU feature not currently enabled
15 ldxc1 $
f8,$
2($
4) # CHECK: error: instruction requires a CPU feature not currently enabled
17 luxc1 $
f19,$
2($
4) # CHECK: error: instruction requires a CPU feature not currently enabled
19 clo $
2,$
2 # CHECK: error: instruction requires a CPU feature not currently enabled
21 rotr $
2,15 # CHECK: error: instruction requires a CPU feature not currently enabled
23 mod $
2, $
4, $
6 # CHECK: error:instruction requires a CPU feature not currently enabled
26 daddi $
2, $
2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled
29 daddi $
2, $
2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled
31 daddi $
2, $
2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled
33 drotr32 $
1,$
14,15 # CHECK: error: instruction requires a CPU feature not currently enabled
35 mod $
2, $
4, $
6 # CHECK: error: instruction requires a CPU feature not currently enabled
38 mod $
2, $
4, $
6 # CHECK: error: instruction requires a CPU feature not currently enabled
41 mod $
2, $
4, $
6 # CHECK: error: instruction requires a CPU feature not currently enabled