qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] tcg patch queue
@ 2014-06-18 23:33 Richard Henderson
  2014-06-18 23:33 ` [Qemu-devel] [PULL] tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER Richard Henderson
  2014-06-20 15:18 ` [Qemu-devel] [PULL] tcg patch queue Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2014-06-18 23:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL] tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER
  2014-06-18 23:33 [Qemu-devel] [PULL] tcg patch queue Richard Henderson
@ 2014-06-18 23:33 ` Richard Henderson
  2014-06-20 15:18 ` [Qemu-devel] [PULL] tcg patch queue Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2014-06-18 23:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

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.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/optimize.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/tcg/optimize.c b/tcg/optimize.c
index 16cebbe..34ae3c2 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -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;
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL] tcg patch queue
  2014-06-18 23:33 [Qemu-devel] [PULL] tcg patch queue Richard Henderson
  2014-06-18 23:33 ` [Qemu-devel] [PULL] tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER Richard Henderson
@ 2014-06-20 15:18 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2014-06-20 15:18 UTC (permalink / raw)
  To: Richard Henderson; +Cc: QEMU Developers

On 19 June 2014 00:33, Richard Henderson <rth@twiddle.net> wrote:
> 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)
>

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-20 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18 23:33 [Qemu-devel] [PULL] tcg patch queue Richard Henderson
2014-06-18 23:33 ` [Qemu-devel] [PULL] tcg/optimize: Don't special case TCG_OPF_CALL_CLOBBER Richard Henderson
2014-06-20 15:18 ` [Qemu-devel] [PULL] tcg patch queue Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).