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 |
Simon Dardis | 730fdb7 | 2017-01-16 13:55:58 +0000 | [diff] [blame] | 9 | bc1fl $fcc7,27 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: non-zero fcc register doesn't exist in current ISA level |
| 10 | bc1tl $fcc7,27 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: non-zero fcc register doesn't exist in current ISA level |
Sander de Smalen | cd6be96 | 2017-12-20 11:02:42 +0000 | [diff] [blame] | 11 | scd $15,-8243($sp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction |
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 |