aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsInstrFPU.td
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-11-15 21:17:13 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-11-15 21:17:13 +0000
commit0301bc54ad23c9dff0370dffaf6eb3eabba42cc4 (patch)
tree9780e711bf3e60902b8754badc8fbd3ee40bdae7 /lib/Target/Mips/MipsInstrFPU.td
parentb92ef128ec01e9869c411b02356ce3dc9c6f5141 (diff)
downloadexternal_llvm-0301bc54ad23c9dff0370dffaf6eb3eabba42cc4.zip
external_llvm-0301bc54ad23c9dff0370dffaf6eb3eabba42cc4.tar.gz
external_llvm-0301bc54ad23c9dff0370dffaf6eb3eabba42cc4.tar.bz2
[mips] Add predicate HasFPIdx for floating-point indexed load instruction
support and use it in place of HasMips32r2Or64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrFPU.td')
-rw-r--r--lib/Target/Mips/MipsInstrFPU.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsInstrFPU.td b/lib/Target/Mips/MipsInstrFPU.td
index 33ee020..750b700 100644
--- a/lib/Target/Mips/MipsInstrFPU.td
+++ b/lib/Target/Mips/MipsInstrFPU.td
@@ -282,7 +282,7 @@ let Predicates = [NotN64, NotMips64, HasStandardEncoding] in {
}
// Indexed loads and stores.
-let Predicates = [HasMips32r2Or64, HasStandardEncoding] in {
+let Predicates = [HasFPIdx, HasStandardEncoding] in {
def LWXC1 : FPIdxLoad<0x0, "lwxc1", FGR32, CPURegs, load>;
def SWXC1 : FPIdxStore<0x8, "swxc1", FGR32, CPURegs, store>;
}