[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 21/50] target/i386: Reduce DisasContext.override to int8_t
From: |
Richard Henderson |
Subject: |
[PATCH v2 21/50] target/i386: Reduce DisasContext.override to int8_t |
Date: |
Fri, 14 May 2021 10:13:13 -0500 |
The range of values is -1 (none) to 5 (R_GS).
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/i386/tcg/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index ca7f0a8cf4..44a28858aa 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -77,7 +77,7 @@ typedef struct DisasContext {
DisasContextBase base;
/* current insn context */
- int override; /* -1 if no override */
+ int8_t override; /* -1 if no override, else R_CS, R_DS, etc */
int prefix;
MemOp aflag;
MemOp dflag;
--
2.25.1
- [PATCH v2 15/50] target/i386: Introduce REX_PREFIX, (continued)
- [PATCH v2 15/50] target/i386: Introduce REX_PREFIX, Richard Henderson, 2021/05/14
- [PATCH v2 23/50] target/i386: Reduce DisasContext.vex_[lv] to uint8_t, Richard Henderson, 2021/05/14
- [PATCH v2 17/50] target/i386: Move rex_r into DisasContext, Richard Henderson, 2021/05/14
- [PATCH v2 19/50] target/i386: Remove DisasContext.f_st as unused, Richard Henderson, 2021/05/14
- [PATCH v2 20/50] target/i386: Reduce DisasContext.flags to uint32_t, Richard Henderson, 2021/05/14
- [PATCH v2 21/50] target/i386: Reduce DisasContext.override to int8_t,
Richard Henderson <=
- [PATCH v2 26/50] target/i386: Reduce DisasContext jmp_opt, repz_opt to bool, Richard Henderson, 2021/05/14
- [PATCH v2 18/50] target/i386: Move rex_w into DisasContext, Richard Henderson, 2021/05/14
- [PATCH v2 27/50] target/i386: Fix the comment for repz_opt, Richard Henderson, 2021/05/14
- [PATCH v2 32/50] target/i386: Implement skinit in translate.c, Richard Henderson, 2021/05/14
- [PATCH v2 31/50] target/i386: Assert !GUEST for user-only, Richard Henderson, 2021/05/14