aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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*/))]>;
}