diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-11-16 04:35:29 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-11-16 04:35:29 +0000 |
| commit | 5bf807688e07ff84788aa2cc6f511121b7cfb5ac (patch) | |
| tree | 8440e6f2caeb0996366166d428bad0d689007a95 /llvm/lib/Target | |
| parent | 537e409c58c9f4eb527df39f986f498d2f777f42 (diff) | |
| download | bcm5719-llvm-5bf807688e07ff84788aa2cc6f511121b7cfb5ac.tar.gz bcm5719-llvm-5bf807688e07ff84788aa2cc6f511121b7cfb5ac.zip | |
Disable ldc1/sdc1 instructions for mips1 targets.
llvm-svn: 88887
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFPU.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFPU.td b/llvm/lib/Target/Mips/MipsInstrFPU.td index b7d02bcb277..ce89cfd7d74 100644 --- a/llvm/lib/Target/Mips/MipsInstrFPU.td +++ b/llvm/lib/Target/Mips/MipsInstrFPU.td @@ -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))]>; |

