[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 22/50] target/i386: Reduce DisasContext.prefix to uint8_t
From: |
Richard Henderson |
Subject: |
[PATCH v2 22/50] target/i386: Reduce DisasContext.prefix to uint8_t |
Date: |
Fri, 14 May 2021 10:13:14 -0500 |
The highest bit in this set is 0x40 (PREFIX_REX).
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 44a28858aa..61c0573c2f 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -78,7 +78,7 @@ typedef struct DisasContext {
/* current insn context */
int8_t override; /* -1 if no override, else R_CS, R_DS, etc */
- int prefix;
+ uint8_t prefix;
MemOp aflag;
MemOp dflag;
target_ulong pc_start;
--
2.25.1
- [PATCH v2 27/50] target/i386: Fix the comment for repz_opt, (continued)
- [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
- [PATCH v2 33/50] target/i386: Eliminate SVM helpers for user-only, Richard Henderson, 2021/05/14
- [PATCH v2 24/50] target/i386: Reduce DisasContext popl_esp_hack and rip_offset to uint8_t, Richard Henderson, 2021/05/14
- [PATCH v2 22/50] target/i386: Reduce DisasContext.prefix to uint8_t,
Richard Henderson <=
- [PATCH v2 30/50] target/i386: Assert !SVME for user-only, Richard Henderson, 2021/05/14
- [PATCH v2 29/50] target/i386: Add stub generator for helper_set_dr, Richard Henderson, 2021/05/14
- [PATCH v2 36/50] target/i386: Tidy svm_check_intercept from tcg, Richard Henderson, 2021/05/14
- [PATCH v2 37/50] target/i386: Remove pc_start argument to gen_svm_check_intercept, Richard Henderson, 2021/05/14
- [PATCH v2 38/50] target/i386: Remove user stub for cpu_vmexit, Richard Henderson, 2021/05/14