2014-10-10 21:45:34 +08:00
|
|
|
# RUN: not llvm-mc %s -triple=mipsel -show-encoding -mattr=micromips 2>%t1
|
|
|
|
# RUN: FileCheck %s < %t1
|
|
|
|
|
|
|
|
addius5 $7, 9 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: immediate operand value out of range
|
2014-10-10 22:37:30 +08:00
|
|
|
addiusp 1032 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: immediate operand value out of range
|
2014-10-21 16:44:58 +08:00
|
|
|
addu16 $6, $14, $4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
|
|
|
subu16 $5, $16, $9 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
2014-10-21 16:32:40 +08:00
|
|
|
and16 $16, $8 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
|
|
|
not16 $18, $9 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
|
|
|
or16 $16, $10 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
|
|
|
xor16 $15, $5 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|