blob: 5ced993c2e11aea259d5ca4378c85cc361d34317 [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
Daniel Sanders2e9f69d2016-03-31 13:15:23 +000011 scd $15,-8243($sp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
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