Merge pull request #2720 from nerd73/master

Fix 95/98FE protection errors on emulated P6
This commit is contained in:
Miran Grča
2022-10-18 03:59:28 +02:00
committed by GitHub

View File

@@ -158,10 +158,13 @@ static const macro_op_t lods_op =
}; };
static const macro_op_t loop_op = static const macro_op_t loop_op =
{ {
.nr_uops = 2, .nr_uops = 5,
.decode_type = DECODE_COMPLEX, .decode_type = DECODE_COMPLEX,
.uop[0] = {.type = UOP_ALU, .latency = 1}, .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 = static const macro_op_t mov_reg_seg_op =
{ {