blob: ef5657833ca513f5f953d13bcdf024f063365df7 [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
Vasileios Kalintiris238692b2014-10-17 14:08:28 +00009 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 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