mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Revert "Add missing load/store flags to thumb2 instructions."
This reverts commit r242300. This is causing buildbot failures which we are investigating. I'll reapply once we know whats going on, but for now want to get the bots green. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
204b59072d
commit
5cfac0ef44
@ -1554,21 +1554,19 @@ def t2STRBT : T2IstT<0b00, "strbt", IIC_iStore_bh_i>;
|
|||||||
def t2STRHT : T2IstT<0b01, "strht", IIC_iStore_bh_i>;
|
def t2STRHT : T2IstT<0b01, "strht", IIC_iStore_bh_i>;
|
||||||
|
|
||||||
// ldrd / strd pre / post variants
|
// ldrd / strd pre / post variants
|
||||||
|
// For disassembly only.
|
||||||
|
|
||||||
let mayLoad = 1 in
|
|
||||||
def t2LDRD_PRE : T2Ii8s4<1, 1, 1, (outs rGPR:$Rt, rGPR:$Rt2, GPR:$wb),
|
def t2LDRD_PRE : T2Ii8s4<1, 1, 1, (outs rGPR:$Rt, rGPR:$Rt2, GPR:$wb),
|
||||||
(ins t2addrmode_imm8s4_pre:$addr), IIC_iLoad_d_ru,
|
(ins t2addrmode_imm8s4_pre:$addr), IIC_iLoad_d_ru,
|
||||||
"ldrd", "\t$Rt, $Rt2, $addr!", "$addr.base = $wb", []> {
|
"ldrd", "\t$Rt, $Rt2, $addr!", "$addr.base = $wb", []> {
|
||||||
let DecoderMethod = "DecodeT2LDRDPreInstruction";
|
let DecoderMethod = "DecodeT2LDRDPreInstruction";
|
||||||
}
|
}
|
||||||
|
|
||||||
let mayLoad = 1 in
|
|
||||||
def t2LDRD_POST : T2Ii8s4post<0, 1, 1, (outs rGPR:$Rt, rGPR:$Rt2, GPR:$wb),
|
def t2LDRD_POST : T2Ii8s4post<0, 1, 1, (outs rGPR:$Rt, rGPR:$Rt2, GPR:$wb),
|
||||||
(ins addr_offset_none:$addr, t2am_imm8s4_offset:$imm),
|
(ins addr_offset_none:$addr, t2am_imm8s4_offset:$imm),
|
||||||
IIC_iLoad_d_ru, "ldrd", "\t$Rt, $Rt2, $addr$imm",
|
IIC_iLoad_d_ru, "ldrd", "\t$Rt, $Rt2, $addr$imm",
|
||||||
"$addr.base = $wb", []>;
|
"$addr.base = $wb", []>;
|
||||||
|
|
||||||
let mayStore = 1 in
|
|
||||||
def t2STRD_PRE : T2Ii8s4<1, 1, 0, (outs GPR:$wb),
|
def t2STRD_PRE : T2Ii8s4<1, 1, 0, (outs GPR:$wb),
|
||||||
(ins rGPR:$Rt, rGPR:$Rt2, t2addrmode_imm8s4_pre:$addr),
|
(ins rGPR:$Rt, rGPR:$Rt2, t2addrmode_imm8s4_pre:$addr),
|
||||||
IIC_iStore_d_ru, "strd", "\t$Rt, $Rt2, $addr!",
|
IIC_iStore_d_ru, "strd", "\t$Rt, $Rt2, $addr!",
|
||||||
@ -1576,7 +1574,6 @@ def t2STRD_PRE : T2Ii8s4<1, 1, 0, (outs GPR:$wb),
|
|||||||
let DecoderMethod = "DecodeT2STRDPreInstruction";
|
let DecoderMethod = "DecodeT2STRDPreInstruction";
|
||||||
}
|
}
|
||||||
|
|
||||||
let mayStore = 1 in
|
|
||||||
def t2STRD_POST : T2Ii8s4post<0, 1, 0, (outs GPR:$wb),
|
def t2STRD_POST : T2Ii8s4post<0, 1, 0, (outs GPR:$wb),
|
||||||
(ins rGPR:$Rt, rGPR:$Rt2, addr_offset_none:$addr,
|
(ins rGPR:$Rt, rGPR:$Rt2, addr_offset_none:$addr,
|
||||||
t2am_imm8s4_offset:$imm),
|
t2am_imm8s4_offset:$imm),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=fast -optimize-regalloc=0 -verify-machineinstrs | FileCheck %s -check-prefix=A8 -check-prefix=CHECK
|
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=fast -optimize-regalloc=0 | FileCheck %s -check-prefix=A8 -check-prefix=CHECK
|
||||||
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-m3 -regalloc=fast -optimize-regalloc=0 | FileCheck %s -check-prefix=M3 -check-prefix=CHECK
|
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-m3 -regalloc=fast -optimize-regalloc=0 | FileCheck %s -check-prefix=M3 -check-prefix=CHECK
|
||||||
; rdar://6949835
|
; rdar://6949835
|
||||||
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=basic | FileCheck %s -check-prefix=BASIC -check-prefix=CHECK
|
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=basic | FileCheck %s -check-prefix=BASIC -check-prefix=CHECK
|
||||||
|
Loading…
Reference in New Issue
Block a user