Commit ba89da8f authored by Vasili Skurydzin's avatar Vasili Skurydzin Committed by Commit Bot

s390: cleanup the disassembler by instruction formats.

Change-Id: I5d20ea5efb76a24c6569e56caf2e22638141ce95
Reviewed-on: https://chromium-review.googlesource.com/1117602
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#54420}
parent 6b4ba741
...@@ -1331,6 +1331,46 @@ inline void ss_a_format(Opcode op, int f1, int f2, int f3, int f4, int f5) { ...@@ -1331,6 +1331,46 @@ inline void ss_a_format(Opcode op, int f1, int f2, int f3, int f4, int f5) {
brxhg(dst, inc, Operand(offset_halfwords)); brxhg(dst, inc, Operand(offset_halfwords));
} }
template <class R1, class R2>
void ledbr(R1 r1, R2 r2) {
ledbra(Condition(0), Condition(0), r1, r2);
}
template <class R1, class R2>
void cdfbr(R1 r1, R2 r2) {
cdfbra(Condition(0), Condition(0), r1, r2);
}
template <class R1, class R2>
void cdgbr(R1 r1, R2 r2) {
cdgbra(Condition(0), Condition(0), r1, r2);
}
template <class R1, class R2>
void cegbr(R1 r1, R2 r2) {
cegbra(Condition(0), Condition(0), r1, r2);
}
template <class R1, class R2>
void cgebr(Condition m3, R1 r1, R2 r2) {
cgebra(m3, Condition(0), r1, r2);
}
template <class R1, class R2>
void cgdbr(Condition m3, R1 r1, R2 r2) {
cgdbra(m3, Condition(0), r1, r2);
}
template <class R1, class R2>
void cfdbr(Condition m3, R1 r1, R2 r2) {
cfdbra(m3, Condition(0), r1, r2);
}
template <class R1, class R2>
void cfebr(Condition m3, R1 r1, R2 r2) {
cfebra(m3, Condition(0), r1, r2);
}
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Code generation // Code generation
......
This diff is collapsed.
This diff is collapsed.
...@@ -998,8 +998,6 @@ void Simulator::EvalTableInit() { ...@@ -998,8 +998,6 @@ void Simulator::EvalTableInit() {
EvalTable[STFPC] = &Simulator::Evaluate_STFPC; EvalTable[STFPC] = &Simulator::Evaluate_STFPC;
EvalTable[LFPC] = &Simulator::Evaluate_LFPC; EvalTable[LFPC] = &Simulator::Evaluate_LFPC;
EvalTable[TRE] = &Simulator::Evaluate_TRE; EvalTable[TRE] = &Simulator::Evaluate_TRE;
EvalTable[CUUTF] = &Simulator::Evaluate_CUUTF;
EvalTable[CUTFU] = &Simulator::Evaluate_CUTFU;
EvalTable[STFLE] = &Simulator::Evaluate_STFLE; EvalTable[STFLE] = &Simulator::Evaluate_STFLE;
EvalTable[SRNMB] = &Simulator::Evaluate_SRNMB; EvalTable[SRNMB] = &Simulator::Evaluate_SRNMB;
EvalTable[SRNMT] = &Simulator::Evaluate_SRNMT; EvalTable[SRNMT] = &Simulator::Evaluate_SRNMT;
...@@ -1105,7 +1103,6 @@ void Simulator::EvalTableInit() { ...@@ -1105,7 +1103,6 @@ void Simulator::EvalTableInit() {
EvalTable[CGDR] = &Simulator::Evaluate_CGDR; EvalTable[CGDR] = &Simulator::Evaluate_CGDR;
EvalTable[CGXR] = &Simulator::Evaluate_CGXR; EvalTable[CGXR] = &Simulator::Evaluate_CGXR;
EvalTable[LGDR] = &Simulator::Evaluate_LGDR; EvalTable[LGDR] = &Simulator::Evaluate_LGDR;
EvalTable[MDTR] = &Simulator::Evaluate_MDTR;
EvalTable[MDTRA] = &Simulator::Evaluate_MDTRA; EvalTable[MDTRA] = &Simulator::Evaluate_MDTRA;
EvalTable[DDTRA] = &Simulator::Evaluate_DDTRA; EvalTable[DDTRA] = &Simulator::Evaluate_DDTRA;
EvalTable[ADTRA] = &Simulator::Evaluate_ADTRA; EvalTable[ADTRA] = &Simulator::Evaluate_ADTRA;
...@@ -5291,18 +5288,6 @@ EVALUATE(TRE) { ...@@ -5291,18 +5288,6 @@ EVALUATE(TRE) {
return 0; return 0;
} }
EVALUATE(CUUTF) {
UNIMPLEMENTED();
USE(instr);
return 0;
}
EVALUATE(CUTFU) {
UNIMPLEMENTED();
USE(instr);
return 0;
}
EVALUATE(STFLE) { EVALUATE(STFLE) {
UNIMPLEMENTED(); UNIMPLEMENTED();
USE(instr); USE(instr);
...@@ -6412,12 +6397,6 @@ EVALUATE(LGDR) { ...@@ -6412,12 +6397,6 @@ EVALUATE(LGDR) {
return length; return length;
} }
EVALUATE(MDTR) {
UNIMPLEMENTED();
USE(instr);
return 0;
}
EVALUATE(MDTRA) { EVALUATE(MDTRA) {
UNIMPLEMENTED(); UNIMPLEMENTED();
USE(instr); USE(instr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment