qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] target/m68k: remove useless qregs array


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/2] target/m68k: remove useless qregs array
Date: Thu, 22 Oct 2020 23:04:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 10/22/20 10:29 PM, Laurent Vivier wrote:
They are unused since the target has been converted to TCG.

Fixes: e1f3808e03f7 ("Convert m68k target to TCG.")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

---
  target/m68k/cpu.h | 4 ----
  1 file changed, 4 deletions(-)

diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index 521ac67cdd04..9a6f0400fcfe 100644
--- a/target/m68k/cpu.h
+++ b/target/m68k/cpu.h
@@ -33,8 +33,6 @@
  #define OS_PACKED   6
  #define OS_UNSIZED  7
-#define MAX_QREGS 32
-
  #define EXCP_ACCESS         2   /* Access (MMU) error.  */
  #define EXCP_ADDRESS        3   /* Address error.  */
  #define EXCP_ILLEGAL        4   /* Illegal instruction.  */
@@ -139,8 +137,6 @@ typedef struct CPUM68KState {
      int pending_vector;
      int pending_level;
- uint32_t qregs[MAX_QREGS];
-
      /* Fields up to this point are cleared by a CPU reset */
      struct {} end_reset_fields;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]