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>
This commit is contained in:
parent
0d5bede468
commit
fc49723769
@ -4305,7 +4305,7 @@ static int decode_nanomips_32_48_opc(CPUMIPSState *env, DisasContext *ctx)
|
|||||||
TCGv va = tcg_temp_new();
|
TCGv va = tcg_temp_new();
|
||||||
TCGv t1 = tcg_temp_new();
|
TCGv t1 = tcg_temp_new();
|
||||||
MemOp memop = (extract32(ctx->opcode, 8, 3)) ==
|
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;
|
count = (count == 0) ? 8 : count;
|
||||||
while (counter != count) {
|
while (counter != count) {
|
||||||
|
Loading…
Reference in New Issue
Block a user