qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>, "Emilio G . Cota" <cota@braap.org>
Subject: Re: [PATCH] accel/tcg/plugin-gen: fix the call signature for inline callbacks
Date: Wed, 10 Feb 2021 09:37:34 -0800	[thread overview]
Message-ID: <ba6b2579-14b7-e3f3-08b7-cb84c6331c55@linaro.org> (raw)
In-Reply-To: <20210210172751.11669-1-alex.bennee@linaro.org>

On 2/10/21 9:27 AM, Alex Bennée wrote:
> A recent change to the handling of constants in TCG changed the
> pattern of ops emitted for a constant add. We no longer emit a mov and
> the constant can be applied directly to the TCG_op_add arguments. This
> was causing SEGVs when running the insn plugin with arg=inline. Fix
> this by updating copy_add_i64 to do the right thing while also adding
> a comment at the top of the append section as an aide memoir if
> something like this happens again.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Emilio G. Cota <cota@braap.org>
> ---
>  accel/tcg/plugin-gen.c | 32 +++++++++++---------------------
>  1 file changed, 11 insertions(+), 21 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~


      reply	other threads:[~2021-02-10 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-10 17:27 [PATCH] accel/tcg/plugin-gen: fix the call signature for inline callbacks Alex Bennée
2021-02-10 17:37 ` Richard Henderson [this message]

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=ba6b2579-14b7-e3f3-08b7-cb84c6331c55@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=cota@braap.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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).