[mips][mips64r6] bc2[ft] are not available on MIPS32r6/MIPS64r6
Summary: These instructions are not implemented for any MIPS ISA so we only need testcases. Depends on D4110 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D4111 llvm-svn: 210786
This commit is contained in:
parent
b1a4d3a26c
commit
39a1ca75ba
|
@ -26,8 +26,6 @@ include "Mips32r6InstrFormats.td"
|
|||
// Reencoded: sdc2
|
||||
// Reencoded: swc2
|
||||
// Removed: bc1any2, bc1any4
|
||||
// Removed: bc2[ft]
|
||||
// Removed: bc2f, bc2t
|
||||
// Removed: bgezal
|
||||
// Removed: bltzal
|
||||
// Removed: bc1[ft]
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
# RUN: FileCheck %s < %t1
|
||||
|
||||
.set noat
|
||||
bc2f 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2t 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
lwl $s4,-4231($15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
||||
lwr $zero,-19147($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
||||
swl $15,13694($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
bc1tl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc1fl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc1fl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2f 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2f $fcc0,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2t 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2t $fcc0,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2tl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2tl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2fl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
# RUN: FileCheck %s < %t1
|
||||
|
||||
.set noat
|
||||
bc2f 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2t 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
lwl $s4,-4231($15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
||||
lwr $zero,-19147($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
||||
swl $15,13694($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# Instructions that are invalid and are correctly rejected but use the wrong
|
||||
# error message at the moment.
|
||||
#
|
||||
# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 \
|
||||
# RUN: 2>%t1
|
||||
# RUN: FileCheck %s < %t1
|
||||
|
||||
.set noat
|
||||
bc1fl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc1fl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc1tl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc1tl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2f $fcc0,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2f 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2fl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2fl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2t $fcc0,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2t 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2tl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
||||
bc2tl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: Unknown instruction
|
Loading…
Reference in New Issue