[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/16] target/mips: Use MO_ALIGN instead of 0
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 08/16] target/mips: Use MO_ALIGN instead of 0 |
|
Date: |
Tue, 2 May 2023 17:08:38 +0100 |
The opposite of MO_UNALN is MO_ALIGN.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/mips/tcg/nanomips_translate.c.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/mips/tcg/nanomips_translate.c.inc
b/target/mips/tcg/nanomips_translate.c.inc
index b96dcd2ae9..a98dde0d2e 100644
--- a/target/mips/tcg/nanomips_translate.c.inc
+++ b/target/mips/tcg/nanomips_translate.c.inc
@@ -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) {
--
2.34.1
- [PATCH 00/16] tcg: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/02
- [PATCH 03/16] target/alpha: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/02
- [PATCH 08/16] target/mips: Use MO_ALIGN instead of 0,
Richard Henderson <=
- [PATCH 02/16] target/alpha: Use MO_ALIGN where required, Richard Henderson, 2023/05/02
- [PATCH 10/16] target/nios2: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/02
- [PATCH 11/16] target/sh4: Use MO_ALIGN where required, Richard Henderson, 2023/05/02
- [PATCH 13/16] target/sparc: Use MO_ALIGN where required, Richard Henderson, 2023/05/02
- [PATCH 01/16] target/alpha: Use MO_ALIGN for system UNALIGN(), Richard Henderson, 2023/05/02
- [PATCH 04/16] target/hppa: Use MO_ALIGN for system UNALIGN(), Richard Henderson, 2023/05/02