From 96d5bb79d49b4ec67aa9a44af2d7f41bcfbab1d3 Mon Sep 17 00:00:00 2001 From: Chris Lattner <sabre@nondot.org> Date: Mon, 19 Dec 2005 01:22:53 +0000 Subject: [PATCH] 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 --- lib/Target/Sparc/SparcInstrInfo.td | 4 ++-- lib/Target/SparcV8/SparcV8InstrInfo.td | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index 88cbac2a758..ba878892c5e 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 88cbac2a758..ba878892c5e 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*/))]>; }