Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 4 additions & 15 deletions llvm/lib/Target/PowerPC/P10InstrResources.td
Original file line number Diff line number Diff line change
Expand Up @@ -825,19 +825,15 @@ def : InstRW<[P10W_F2_4C, P10W_DISP_ANY, P10F2_Read, P10F2_Read, P10F2_Read],
def : InstRW<[P10W_F2_4C, P10W_DISP_EVEN, P10W_DISP_ANY, P10F2_Read],
(instrs
SRADI_rec,
SRAWI_rec,
TABORTDCI,
TABORTWCI
SRAWI_rec
)>;

// Single crack instructions
// 4 Cycles ALU2 operations, 2 input operands
def : InstRW<[P10W_F2_4C, P10W_DISP_EVEN, P10W_DISP_ANY, P10F2_Read, P10F2_Read],
(instrs
SRAD_rec,
SRAW_rec,
TABORTDC,
TABORTWC
SRAW_rec
)>;

// 2-way crack instructions
Expand Down Expand Up @@ -1130,10 +1126,7 @@ def : InstRW<[P10W_FX_3C, P10W_DISP_EVEN, P10W_DISP_ANY],
MFFSCRNI,
MFFSL,
MFVSCR,
MTFSB0,
TBEGIN,
TRECHKPT,
TSR
MTFSB0
)>;

// Single crack instructions
Expand All @@ -1153,9 +1146,7 @@ def : InstRW<[P10W_FX_3C, P10W_DISP_EVEN, P10W_DISP_ANY, P10FX_Read],
SUBFME8_rec, SUBFME_rec,
SUBFME8O_rec, SUBFMEO_rec,
SUBFZE8_rec, SUBFZE_rec,
SUBFZE8O_rec, SUBFZEO_rec,
TABORT,
TRECLAIM
SUBFZE8O_rec, SUBFZEO_rec
)>;

// Single crack instructions
Expand Down Expand Up @@ -1862,8 +1853,6 @@ def : InstRW<[P10W_ST_3C, P10W_DISP_EVEN, P10W_DISP_ANY],
EnforceIEIO,
MSGSYNC,
SLBSYNC,
TCHECK,
TEND,
TLBSYNC
)>;

Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/Target/PowerPC/PPCScheduleP10.td
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def P10Model : SchedMachineModel {
let LoopMicroOpBufferSize = 60;
let CompleteModel = 1;

// Do not support SPE (Signal Procesing Engine) on Power 10.
let UnsupportedFeatures = [HasSPE, IsE500, IsBookE, IsISAFuture];
// Power 10 does not support instructions from SPE, Book E and HTM.
let UnsupportedFeatures = [HasSPE, IsE500, IsBookE, IsISAFuture, HasHTM];
}

let SchedModel = P10Model in {
Expand Down