projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02388b5
)
target/mips/mxu: Replace magic array size by its definition
author
Philippe Mathieu-Daudé
<philmd@linaro.org>
Wed, 12 Jul 2023 05:52:26 +0000
(07:52 +0200)
committer
Philippe Mathieu-Daudé
<philmd@linaro.org>
Tue, 25 Jul 2023 12:40:49 +0000
(14:40 +0200)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <
20230712060806
.82323-2-philmd@linaro.org>
target/mips/tcg/mxu_translate.c
patch
|
blob
|
history
diff --git
a/target/mips/tcg/mxu_translate.c
b/target/mips/tcg/mxu_translate.c
index deb8060a1789055d38562df2d35a7cf8e7fd17b8..b007948a73243f56d94f177ed3bb0e0db57a3edb 100644
(file)
--- a/
target/mips/tcg/mxu_translate.c
+++ b/
target/mips/tcg/mxu_translate.c
@@
-609,7
+609,7
@@
enum {
static TCGv mxu_gpr[NUMBER_OF_MXU_REGISTERS - 1];
static TCGv mxu_CR;
-static const char mxuregnames[][4] = {
+static const char mxuregnames[
NUMBER_OF_MXU_REGISTERS
][4] = {
"XR1", "XR2", "XR3", "XR4", "XR5", "XR6", "XR7", "XR8",
"XR9", "XR10", "XR11", "XR12", "XR13", "XR14", "XR15", "XCR",
};