summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-19 01:22:53 +0000
committerChris Lattner <sabre@nondot.org>2005-12-19 01:22:53 +0000
commit96d5bb79d49b4ec67aa9a44af2d7f41bcfbab1d3 (patch)
tree4826b94b868b09a04f04955148bd59a07b8cc464
parent6554beffe46033f654400d13c0ed6f7b602d8bf1 (diff)
downloadllvm-96d5bb79d49b4ec67aa9a44af2d7f41bcfbab1d3.tar.gz
llvm-96d5bb79d49b4ec67aa9a44af2d7f41bcfbab1d3.tar.bz2
llvm-96d5bb79d49b4ec67aa9a44af2d7f41bcfbab1d3.tar.xz
Fix syntax for indirect calls. This fixes Olden/mst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24850 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td4
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 88cbac2a75..ba878892c5 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -570,11 +570,11 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1,
// indirect calls
def JMPLrr : F3_1<2, 0b111000,
(ops MEMrr:$ptr),
- "jmpl $ptr",
+ "call $ptr",
[(set ICC/*bogus*/, (call ADDRrr:$ptr, ICC/*bogus*/))]>;
def JMPLri : F3_2<2, 0b111000,
(ops MEMri:$ptr),
- "jmpl $ptr",
+ "call $ptr",
[(set ICC/*bogus*/, (call ADDRri:$ptr, ICC/*bogus*/))]>;
}
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index 88cbac2a75..ba878892c5 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -570,11 +570,11 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1,
// indirect calls
def JMPLrr : F3_1<2, 0b111000,
(ops MEMrr:$ptr),
- "jmpl $ptr",
+ "call $ptr",
[(set ICC/*bogus*/, (call ADDRrr:$ptr, ICC/*bogus*/))]>;
def JMPLri : F3_2<2, 0b111000,
(ops MEMri:$ptr),
- "jmpl $ptr",
+ "call $ptr",
[(set ICC/*bogus*/, (call ADDRri:$ptr, ICC/*bogus*/))]>;
}