blob: e46aac67cdc0bbd2225e99cbbc1da97f5e192118 [file] [log] [blame]
Daniel Sanderse57d8662014-05-09 14:06:17 +00001# 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 Dardis730fdb72017-01-16 13:55:58 +00009 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 Smalencd6be962017-12-20 11:02:42 +000011 scd $15,-8243($sp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
Daniel Sanderse57d8662014-05-09 14:06:17 +000012 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