diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-02-24 18:58:26 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-03-13 23:42:58 +0100 |
commit | c7abe00ae9336892ae615fbc39157ba110d1716b (patch) | |
tree | f9b175373d896bf99742e966e77cd82821a2dc07 /target/mips/translate.h | |
parent | a8dad35388987fe3d55d6166d7f3f188eb607e97 (diff) |
target/mips: Simplify decode_opc_mxu() ifdef'ry
By making the prototype public and checking
'TARGET_LONG_BITS == 32' we let the compiler
elide the decode_opc_mxu() call.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210226093111.3865906-12-f4bug@amsat.org>
Diffstat (limited to 'target/mips/translate.h')
-rw-r--r-- | target/mips/translate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/mips/translate.h b/target/mips/translate.h index 468e29d757..a5c49f1ee2 100644 --- a/target/mips/translate.h +++ b/target/mips/translate.h @@ -178,6 +178,9 @@ extern TCGv bcond; /* MSA */ void msa_translate_init(void); +/* MXU */ +bool decode_ase_mxu(DisasContext *ctx, uint32_t insn); + /* decodetree generated */ bool decode_isa_rel6(DisasContext *ctx, uint32_t insn); bool decode_ase_msa(DisasContext *ctx, uint32_t insn); |