mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
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
This commit is contained in:
parent
6554beffe4
commit
96d5bb79d4
@ -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*/))]>;
|
||||
}
|
||||
|
||||
|
@ -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*/))]>;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user