mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28002c2f82
commit
159b95c484
@ -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
|
||||
|
20
test/MC/Mips/mips64r6/invalid-mips32-wrong-error.s
Normal file
20
test/MC/Mips/mips64r6/invalid-mips32-wrong-error.s
Normal file
@ -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…
x
Reference in New Issue
Block a user