mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 16:46:50 +00:00
Disable ldc1/sdc1 instructions for mips1 targets.
llvm-svn: 88887
This commit is contained in:
parent
21ca44ba49
commit
f87fd996e2
@ -48,6 +48,7 @@ let PrintMethod = "printFCCOperand" in
|
||||
def In32BitMode : Predicate<"!Subtarget.isFP64bit()">;
|
||||
def IsSingleFloat : Predicate<"Subtarget.isSingleFloat()">;
|
||||
def IsNotSingleFloat : Predicate<"!Subtarget.isSingleFloat()">;
|
||||
def IsNotMipsI : Predicate<"!Subtarget.isMips1()">;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Instruction Class Templates
|
||||
@ -173,7 +174,7 @@ let fd = 0 in {
|
||||
}
|
||||
|
||||
/// Floating Point Memory Instructions
|
||||
let Predicates = [IsNotSingleFloat] in {
|
||||
let Predicates = [IsNotSingleFloat, IsNotMipsI] in {
|
||||
def LDC1 : FFI<0b110101, (outs AFGR64:$ft), (ins mem:$addr),
|
||||
"ldc1 $ft, $addr", [(set AFGR64:$ft, (load addr:$addr))]>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user