All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Laurent Vivier <laurent@vivier.eu>, qemu-devel@nongnu.org
Cc: schwab@linux-m68k.org, agraf@suse.de, gerg@uclinux.org
Subject: Re: [Qemu-devel] [PATCH 1/2] target-m68k: add 64bit mull
Date: Mon, 31 Oct 2016 13:11:19 -0600	[thread overview]
Message-ID: <666dd040-7283-1884-500a-55616e0af7ed@twiddle.net> (raw)
In-Reply-To: <927e758c-cc8a-8022-1295-83f1132ac84b@vivier.eu>

On 10/29/2016 02:36 AM, Laurent Vivier wrote:
>
>
> Le 29/10/2016 à 01:25, Richard Henderson a écrit :
>> On 10/28/2016 03:39 PM, Laurent Vivier wrote:
>>> +        tcg_gen_movi_i32(QREG_CC_V, 0);
>>> +        tcg_gen_mov_i32(QREG_CC_C, QREG_CC_V);
>>
>> movi CC, 0
>
> Just to know, could you explain why it is better?

They're independent sets?

The tcg optimizer *ought* to propagate the constant, but there's no reason to 
force this to happen there.


r~

  reply	other threads:[~2016-10-31 19:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 22:39 [Qemu-devel] [PATCH 0/2] 680x0 mul and div instructions Laurent Vivier
2016-10-28 22:39 ` [Qemu-devel] [PATCH 1/2] target-m68k: add 64bit mull Laurent Vivier
2016-10-28 23:25   ` Richard Henderson
2016-10-29  8:36     ` Laurent Vivier
2016-10-31 19:11       ` Richard Henderson [this message]
2016-10-28 22:39 ` [Qemu-devel] [PATCH 2/2] target-m68k: add 680x0 divu/divs variants Laurent Vivier
2016-10-28 22:59   ` Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=666dd040-7283-1884-500a-55616e0af7ed@twiddle.net \
    --to=rth@twiddle.net \
    --cc=agraf@suse.de \
    --cc=gerg@uclinux.org \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.