Skip to contentSkip to conversation

tcg patch queue

GIT PULL Applied Richard Henderson 2 participants 3 messages Jun 18, 2014 – Jun 20, 2014

lore
Share & tools
lore
#0 lore raw

Just one patch queued up this last couple of weeks.

r~

The following changes since commit d279279e2b5cd40dbcc863fb66a695990f304077:

target-mips: implement UserLocal Register (2014-06-18 18:10:47 +0200)

are available in the git repository at:

git://github.com/rth7680/qemu.git tcg-next

for you to fetch changes up to bc8d688ff3c164fa717a0411e77621d590c87e3f:

tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER (2014-06-18 11:39:02 -0700)

----------------------------------------------------------------
Richard Henderson (1):
tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER

 tcg/optimize.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
#1 lore raw

[Qemu-devel] [PULL] tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER

With the "old" ldst ops we didn't know the real width of the result of the load, but with the "new" ldst ops we do.

---
 tcg/optimize.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
tcg/optimize.c +4 -5
index 16cebbe..34ae3c2 100644
@@ -911,12 +911,11 @@ static TCGArg *tcg_constant_folding(TCGContext *s, uint16_t *tcg_opc_ptr,
             break;
         }
 
-        /* 32-bit ops (non 64-bit ops and non load/store ops) generate
-           32-bit results.  For the result is zero test below, we can
-           ignore high bits, but for further optimizations we need to
-           record that the high bits contain garbage.  */
+        /* 32-bit ops generate 32-bit results.  For the result is zero test
+           below, we can ignore high bits, but for further optimizations we
+           need to record that the high bits contain garbage.  */
         partmask = mask;
-        if (!(def->flags & (TCG_OPF_CALL_CLOBBER | TCG_OPF_64BIT))) {
+        if (!(def->flags & TCG_OPF_64BIT)) {
             mask |= ~(tcg_target_ulong)0xffffffffu;
             partmask &= 0xffffffffu;
             affected &= 0xffffffffu;
Signature · 1 line
1.9.3
#2 lore raw
In reply to Richard Henderson
Quoted 10 lines · Richard Henderson

Just one patch queued up this last couple of weeks.

r~

The following changes since commit d279279e2b5cd40dbcc863fb66a695990f304077:

target-mips: implement UserLocal Register (2014-06-18 18:10:47 +0200)

Quoted 8 lines

are available in the git repository at:

git://github.com/rth7680/qemu.git tcg-next

for you to fetch changes up to bc8d688ff3c164fa717a0411e77621d590c87e3f:

tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER (2014-06-18 11:39:02 -0700)

Applied, thanks.

-- PMM