Skip to contentSkip to conversation

trivial: Remove some pre-TCG CPUArchState members

PATCH Applied Richard Henderson 4 participants 9 messages Nov 1, 2012 – Nov 22, 2012

lore
Share & tools
lore
#0 lore raw

cover trivial: Remove some pre-TCG CPUArchState members

Best I can figure, these temporaries were used by the dyngen code generator, last seen in qemu 0.9.0. Certainly there are no references to these members remaining.

Built x86_64 and i686 hosts.

r~

Richard Henderson (3):
target-alpha: Remove t0, t1 from CPUAlphaState
target-m68k: Remove t1 from CPUM68KState
target-sparc: Remove t0, t1 from CPUSPARCState

 target-alpha/cpu.h | 7 -------
 target-m68k/cpu.h  | 3 ---
 target-sparc/cpu.h | 1 -
 3 files changed, 11 deletions(-)
Signature · 1 line
1.7.11.7
#1 lore raw

PATCH 1/3 target-alpha: Remove t0, t1 from CPUAlphaState

These fields are no longer (or were never?) used.

---
 target-alpha/cpu.h | 7 -------
 1 file changed, 7 deletions(-)
target-alpha/cpu.h +0 -7
index 34221fb..9939d61 100644
@@ -280,13 +280,6 @@ struct CPUAlphaState {
     struct QEMUTimer *alarm_timer;
     uint64_t alarm_expire;
 
-#if TARGET_LONG_BITS > HOST_LONG_BITS
-    /* temporary fixed-point registers
-     * used to emulate 64 bits target on 32 bits hosts
-     */
-    target_ulong t0, t1;
-#endif
-
     /* Those resources are used only in QEMU core */
     CPU_COMMON
 
Signature · 1 line
1.7.11.7
#2 lore raw

PATCH 2/3 target-m68k: Remove t1 from CPUM68KState

In reply to Richard Henderson

This field is no longer used.

---
 target-m68k/cpu.h | 3 ---
 1 file changed, 3 deletions(-)
target-m68k/cpu.h +0 -3
index 780e2c9..f4fcdee 100644
@@ -103,9 +103,6 @@ typedef struct CPUM68KState {
     uint32_t rambar0;
     uint32_t cacr;
 
-    /* ??? remove this.  */
-    uint32_t t1;
-
     int pending_vector;
     int pending_level;
 
Signature · 1 line
1.7.11.7
#3 lore raw

PATCH 3/3 target-sparc: Remove t0, t1 from CPUSPARCState

In reply to Richard Henderson

These fields are no longer used.

---
 target-sparc/cpu.h | 1 -
 1 file changed, 1 deletion(-)
target-sparc/cpu.h +0 -1
index 6aa82b3..84dba4e 100644
@@ -392,7 +392,6 @@ struct CPUSPARCState {
     target_ulong cc_dst;
     uint32_t cc_op;
 
-    target_ulong t0, t1; /* temporaries live across basic blocks */
     target_ulong cond; /* conditional branch result (XXX: save it in a
                           temporary register when possible) */
 
Signature · 1 line
1.7.11.7
#4 lore raw
In reply to Richard Henderson

Ping.

Quoted 20 lines · Richard Henderson

Best I can figure, these temporaries were used by the dyngen code generator, last seen in qemu 0.9.0. Certainly there are no references to these members remaining.

Built x86_64 and i686 hosts.

r~

Richard Henderson (3):
target-alpha: Remove t0, t1 from CPUAlphaState
target-m68k: Remove t1 from CPUM68KState
target-sparc: Remove t0, t1 from CPUSPARCState

 target-alpha/cpu.h | 7 -------
 target-m68k/cpu.h  | 3 ---
 target-sparc/cpu.h | 1 -
 3 files changed, 11 deletions(-)
#5 lore raw

Am 21.11.2012 17:51, schrieb Richard Henderson:

Quoted 1 line

Ping.

I had a brief look at these when you posted this, and it's generally fine with me. I just didn't get around to testing/verifying yet.

Not sure if this fits our current Hard Freeze definition though. ;)

Andreas

Quoted 21 lines · Richard Henderson
Quoted 19 lines

Best I can figure, these temporaries were used by the dyngen code generator, last seen in qemu 0.9.0. Certainly there are no references to these members remaining.

Built x86_64 and i686 hosts.

r~

Richard Henderson (3):
target-alpha: Remove t0, t1 from CPUAlphaState
target-m68k: Remove t1 from CPUM68KState
target-sparc: Remove t0, t1 from CPUSPARCState

 target-alpha/cpu.h | 7 -------
 target-m68k/cpu.h  | 3 ---
 target-sparc/cpu.h | 1 -
 3 files changed, 11 deletions(-)
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#6 lore raw
Quoted 1 line · Andreas Färber

Not sure if this fits our current Hard Freeze definition though. ;)

How often do I need to ping patches to get them applied? I've generally been waiting 1-2 weeks between pings. I've got at least 5 minor patch sets outstanding, dating back to at least late September.

I hope for the next release there's both soft and hard freeze periods, and much more help from those with commit privs in reducing the outstanding patch queues before we decide on "done".

r~

#7 lore raw
Quoted 7 lines · Richard Henderson
Quoted 1 line · Andreas Färber

Not sure if this fits our current Hard Freeze definition though. ;)

How often do I need to ping patches to get them applied? I've generally been waiting 1-2 weeks between pings. I've got at least 5 minor patch sets outstanding, dating back to at least late September.

My rule of thumb is a week or so between pings, yes.

Quoted 4 lines

I hope for the next release there's both soft and hard freeze periods, and much more help from those with commit privs in reducing the outstanding patch queues before we decide on "done".

There was a soft freeze period: 1st Nov to 19 Nov. I don't personally expect trivial patches sent after the soft freeze to be applied before release, so this one missing the boat is not very surprising. Patches dating back to September are a different story :-(

-- PMM

#8 lore raw
In reply to Richard Henderson
Quoted 15 lines · Richard Henderson

Best I can figure, these temporaries were used by the dyngen code generator, last seen in qemu 0.9.0. Certainly there are no references to these members remaining.

Built x86_64 and i686 hosts.

r~

Richard Henderson (3):
target-alpha: Remove t0, t1 from CPUAlphaState
target-m68k: Remove t1 from CPUM68KState
target-sparc: Remove t0, t1 from CPUSPARCState

Quoted 9 lines
 target-alpha/cpu.h | 7 -------
 target-m68k/cpu.h  | 3 ---
 target-sparc/cpu.h | 1 -
 3 files changed, 11 deletions(-)
Signature · 1 line
1.7.11.7

Sorry I missed your pull request.

Thanks, applied to the trivial patches tree and should get in once the 1.4 merge window opens:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan