fix 95/98FE on P6

loop should decode into 4 alu ops instead of 1
This commit is contained in:
plant
2022-10-17 19:28:46 -06:00
parent 96ec40d794
commit 8a53754b97

View File

@@ -158,10 +158,13 @@ static const macro_op_t lods_op =
};
static const macro_op_t loop_op =
{
.nr_uops = 2,
.nr_uops = 5,
.decode_type = DECODE_COMPLEX,
.uop[0] = {.type = UOP_ALU, .latency = 1},
.uop[1] = {.type = UOP_BRANCH, .latency = 2}
.uop[1] = {.type = UOP_ALU, .latency = 1},
.uop[2] = {.type = UOP_ALU, .latency = 1},
.uop[3] = {.type = UOP_ALU, .latency = 1},
.uop[4] = {.type = UOP_BRANCH, .latency = 1}
};
static const macro_op_t mov_reg_seg_op =
{