Re: [PATCH v3 09/10] target/mips: Simplify 64-bit ifdef'ry of MXU code

2021-02-23 Thread Richard Henderson
On 2/22/21 2:39 PM, Philippe Mathieu-Daudé wrote: > +#else /* !defined(TARGET_MIPS64) */ > + > +bool decode_ase_mxu(DisasContext *ctx, uint32_t insn) > +{ > +return false; Also seems suspect, but harmless. > -#if !defined(TARGET_MIPS64) > -if (ctx->insn_flags & ASE_MXU) { > +i

[PATCH v3 09/10] target/mips: Simplify 64-bit ifdef'ry of MXU code

2021-02-22 Thread Philippe Mathieu-Daudé
Check for 'TARGET_LONG_BITS == 32' and simplify 64-bit ifdef'ry. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/translate.h | 2 -- target/mips/translate.c | 18 ++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/target/mips/translate.h b/target/mips/tran