From 4df817de57014779d4c07036bcd3835f10b4ba92 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 May 2021 21:17:12 -0400 Subject: [PATCH] sim: mips: fix qh_acc table The AccAddLQH func was unused, and looking at this table, it looks like it's due to a typo. --- sim/mips/ChangeLog | 4 ++++ sim/mips/mdmx.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 62b3b4cf2a6..ba657417eb3 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-05-04 Mike Frysinger + + * mdmx.c (qh_acc): Change 2nd AccAddAQH to AccAddLQH. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/mips/mdmx.c b/sim/mips/mdmx.c index 00b6d4faa09..948bb0d2ebe 100644 --- a/sim/mips/mdmx.c +++ b/sim/mips/mdmx.c @@ -772,7 +772,7 @@ AccAbsDiffOB(signed24 *a, unsigned8 ts, unsigned8 tt) /* Dispatch tables for operations that update a CPR. */ static const QH_ACC qh_acc[] = { - AccAddAQH, AccAddAQH, AccMulAQH, AccMulLQH, + AccAddAQH, AccAddLQH, AccMulAQH, AccMulLQH, SubMulAQH, SubMulLQH, AccSubAQH, AccSubLQH, NULL }; -- 2.30.2