[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 26/50] target/i386: Reduce DisasContext jmp_opt, repz_opt to b
From: |
Richard Henderson |
Subject: |
[PATCH v2 26/50] target/i386: Reduce DisasContext jmp_opt, repz_opt to bool |
Date: |
Fri, 14 May 2021 10:13:18 -0500 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/i386/tcg/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index 3f6214c624..b9b94f0625 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -101,8 +101,8 @@ typedef struct DisasContext {
uint8_t vex_v; /* vex vvvv register, without 1's complement. */
CCOp cc_op; /* current CC operation */
bool cc_op_dirty;
- int jmp_opt; /* use direct block chaining for direct jumps */
- int repz_opt; /* optimize jumps within repz instructions */
+ bool jmp_opt; /* use direct block chaining for direct jumps */
+ bool repz_opt; /* optimize jumps within repz instructions */
int mem_index; /* select memory access functions */
uint32_t flags; /* all execution flags */
uint8_t popl_esp_hack; /* for correct popl with esp base handling */
--
2.25.1
- [PATCH v2 23/50] target/i386: Reduce DisasContext.vex_[lv] to uint8_t, (continued)
- [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, 2021/05/14
- [PATCH v2 26/50] target/i386: Reduce DisasContext jmp_opt, repz_opt to bool,
Richard Henderson <=
- [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
- [PATCH v2 33/50] target/i386: Eliminate SVM helpers for user-only, Richard Henderson, 2021/05/14