Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
target/mips: Use MO_ALIGN instead of 0
The opposite of MO_UNALN is MO_ALIGN.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed May 11, 2023
1 parent 0d5bede commit fc49723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/mips/tcg/nanomips_translate.c.inc
Expand Up @@ -4305,7 +4305,7 @@ static int decode_nanomips_32_48_opc(CPUMIPSState *env, DisasContext *ctx)
TCGv va = tcg_temp_new();
TCGv t1 = tcg_temp_new();
MemOp memop = (extract32(ctx->opcode, 8, 3)) ==
NM_P_LS_UAWM ? MO_UNALN : 0;
NM_P_LS_UAWM ? MO_UNALN : MO_ALIGN;

count = (count == 0) ? 8 : count;
while (counter != count) {
Expand Down

0 comments on commit fc49723

Please sign in to comment.