From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] tcg/optimize: Do not skip default processing of dup_vec
Date: Mon, 6 Aug 2018 07:29:43 +0200 [thread overview]
Message-ID: <CABoDooNeBaYo46FVii0vjT-K5QtTx+Bg34WETrJcLJpPRHoV6w@mail.gmail.com> (raw)
In-Reply-To: <20180805233258.31892-1-richard.henderson@linaro.org>
Hello,
On Mon, Aug 6, 2018 at 1:32 AM, Richard Henderson
<richard.henderson@linaro.org> wrote:
> If we do not opimize away dup_vec, we must mark its output as changed.
>
> Fixes: 170ba88f45b
> Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Thanks,
Laurent
> ---
> tcg/optimize.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tcg/optimize.c b/tcg/optimize.c
> index d4ea67e541..5dbe11c3c8 100644
> --- a/tcg/optimize.c
> +++ b/tcg/optimize.c
> @@ -1094,9 +1094,9 @@ void tcg_optimize(TCGContext *s)
> tmp = arg_info(op->args[1])->val;
> tmp = dup_const(TCGOP_VECE(op), tmp);
> tcg_opt_gen_movi(s, op, op->args[0], tmp);
> - continue;
> + break;
> }
> - break;
> + goto do_default;
>
> CASE_OP_32_64(not):
> CASE_OP_32_64(neg):
> --
> 2.17.1
>
next prev parent reply other threads:[~2018-08-06 5:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-05 23:32 [Qemu-devel] [PATCH] tcg/optimize: Do not skip default processing of dup_vec Richard Henderson
2018-08-06 5:29 ` Laurent Desnogues [this message]
2018-08-06 14:24 ` Peter Maydell
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=CABoDooNeBaYo46FVii0vjT-K5QtTx+Bg34WETrJcLJpPRHoV6w@mail.gmail.com \
--to=laurent.desnogues@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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 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).