| Daniel Sanders | e57d866 | 2014-05-09 14:06:17 +0000 | [diff] [blame] | 1 | # Instructions that are invalid and are correctly rejected but use the wrong |
| 2 | # error message at the moment. |
| 3 | # |
| 4 | # RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips2 \ |
| 5 | # RUN: 2>%t1 |
| 6 | # RUN: FileCheck %s < %t1 |
| 7 | |
| 8 | .set noat |
| Vasileios Kalintiris | 238692b | 2014-10-17 14:08:28 +0000 | [diff] [blame] | 9 | bc1fl $fcc7,27 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction |
| 10 | bc1tl $fcc7,27 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction |
| Daniel Sanders | 2e9f69d | 2016-03-31 13:15:23 +0000 | [diff] [blame] | 11 | scd $15,-8243($sp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset |
| Daniel Sanders | e57d866 | 2014-05-09 14:06:17 +0000 | [diff] [blame] | 12 | sdl $a3,-20961($s8) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction |
| 13 | sdr $11,-20423($12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction |