aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-01 21:17:12 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-04 21:54:36 -0400
commit4df817de57014779d4c07036bcd3835f10b4ba92 (patch)
tree707eef974136413b718a54d8986bf1066d5c233b
parent2849d28d96718c6d2c0c9513745a45a02404bc91 (diff)
downloadgdb-4df817de57014779d4c07036bcd3835f10b4ba92.zip
gdb-4df817de57014779d4c07036bcd3835f10b4ba92.tar.gz
gdb-4df817de57014779d4c07036bcd3835f10b4ba92.tar.bz2
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.
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/mdmx.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 62b3b4c..ba65741 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,9 @@
2021-05-04 Mike Frysinger <vapier@gentoo.org>
+ * mdmx.c (qh_acc): Change 2nd AccAddAQH to AccAddLQH.
+
+2021-05-04 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2021-05-01 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/mips/mdmx.c b/sim/mips/mdmx.c
index 00b6d4f..948bb0d 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
};