[PATCH] target/i386/tcg: remove unused enum

Paolo Bonzini posted 1 patch 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240627105919.981453-1-pbonzini@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>
target/i386/tcg/translate.c | 16 ----------------
1 file changed, 16 deletions(-)
[PATCH] target/i386/tcg: remove unused enum
Posted by Paolo Bonzini 5 months ago
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 target/i386/tcg/translate.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index 257110ac703..aeb7bc4d51b 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -282,22 +282,6 @@ enum {
     JCC_LE,
 };
 
-enum {
-    /* I386 int registers */
-    OR_EAX,   /* MUST be even numbered */
-    OR_ECX,
-    OR_EDX,
-    OR_EBX,
-    OR_ESP,
-    OR_EBP,
-    OR_ESI,
-    OR_EDI,
-
-    OR_TMP0 = 16,    /* temporary operand register */
-    OR_TMP1,
-    OR_A0, /* temporary register used when doing address evaluation */
-};
-
 enum {
     USES_CC_DST  = 1,
     USES_CC_SRC  = 2,
-- 
2.45.2
Re: [PATCH] target/i386/tcg: remove unused enum
Posted by Richard Henderson 5 months ago
On 6/27/24 03:59, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   target/i386/tcg/translate.c | 16 ----------------
>   1 file changed, 16 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~

> 
> diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
> index 257110ac703..aeb7bc4d51b 100644
> --- a/target/i386/tcg/translate.c
> +++ b/target/i386/tcg/translate.c
> @@ -282,22 +282,6 @@ enum {
>       JCC_LE,
>   };
>   
> -enum {
> -    /* I386 int registers */
> -    OR_EAX,   /* MUST be even numbered */
> -    OR_ECX,
> -    OR_EDX,
> -    OR_EBX,
> -    OR_ESP,
> -    OR_EBP,
> -    OR_ESI,
> -    OR_EDI,
> -
> -    OR_TMP0 = 16,    /* temporary operand register */
> -    OR_TMP1,
> -    OR_A0, /* temporary register used when doing address evaluation */
> -};
> -
>   enum {
>       USES_CC_DST  = 1,
>       USES_CC_SRC  = 2,
Re: [PATCH] target/i386/tcg: remove unused enum
Posted by Zhao Liu 5 months ago
On Thu, Jun 27, 2024 at 12:59:19PM +0200, Paolo Bonzini wrote:
> Date: Thu, 27 Jun 2024 12:59:19 +0200
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH] target/i386/tcg: remove unused enum
> X-Mailer: git-send-email 2.45.2
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  target/i386/tcg/translate.c | 16 ----------------
>  1 file changed, 16 deletions(-)
>

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>