ports/emulators/pcem/files/patch-src_codegen__timing__p6.c
Stefan Eßer a03851a452 emulators/pcem: update to version 17
The repository used by this port is actively maintained and there
"dev" branch contains updates and fixes (including for builds on
aarch64).

Since the maintainer had not updated the port for more than 1 year
and it had become deprecated, I'm taking over maintainership.
2023-10-15 15:24:12 +02:00

20 lines
779 B
C

--- src/codegen_timing_p6.c.orig 2020-12-01 19:49:05 UTC
+++ src/codegen_timing_p6.c
@@ -80,7 +80,7 @@ static const p6_instruction_t aluc_op =
{
.nr_uops = 2,
.uop[0] = {.type = UOP_ALU01, .throughput = 1, .latency = 1},
- .uop[0] = {.type = UOP_ALU01, .throughput = 1, .latency = 1}
+ .uop[1] = {.type = UOP_ALU01, .throughput = 1, .latency = 1}
};
static const p6_instruction_t load_alu_op =
{
@@ -146,7 +146,7 @@ static const p6_instruction_t bswap_op =
{
.nr_uops = 2,
.uop[0] = {.type = UOP_ALU0, .throughput = 1, .latency = 1},
- .uop[0] = {.type = UOP_ALU01, .throughput = 1, .latency = 1}
+ .uop[1] = {.type = UOP_ALU01, .throughput = 1, .latency = 1}
};
static const p6_instruction_t leave_op =
{