1 # RUN: not llvm-mc -triple=mips -mcpu=mips32r2 -mattr=+mt -show-encoding < %s 2>%t1
2 # RUN: FileCheck %s < %t1
4 # The integrated assembler produces a wrong or misleading error message.
6 mftc0
0($
4), $
5 # CHECK: error: unexpected token in argument list
7 mftc0
0($
4), $
5, 1 # CHECK: error: unexpected token in argument list
8 mftgpr
0($
4), $
5 # CHECK: error: unexpected token in argument list
9 mftlo
0($
3) # CHECK: error: unexpected token in argument list
10 mftlo
0($
3), $ac1
# CHECK: error: unexpected token in argument list
11 mfthi
0($
3) # CHECK: error: unexpected token in argument list
12 mfthi
0($
3), $ac1
# CHECK: error: unexpected token in argument list
13 mftacx
0($
3) # CHECK: error: unexpected token in argument list
14 mftacx
0($
3), $ac1
# CHECK: error: unexpected token in argument list
15 mftdsp
0($
4) # CHECK: error: unexpected token in argument list
16 mftc1
0($
4), $
f4 # CHECK: error: unexpected token in argument list
17 mfthc1
0($
4), $
f4 # CHECK: error: unexpected token in argument list
18 cftc1
0($
4), $
f8 # CHECK: error: unexpected token in argument list