All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Richard Henderson <rth@twiddle.net>
Cc: Stefan Weil <sw@weilnetz.de>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v3 15/16] tci: Define TCG_TARGET_INSN_UNIT_SIZE
Date: Fri, 9 May 2014 14:52:52 +0100	[thread overview]
Message-ID: <CAFEAcA98xoR-41qSeEqN4AUHGKRvRotvjyQtppiuaMNGSwzmQg@mail.gmail.com> (raw)
In-Reply-To: <1398713302-29657-16-git-send-email-rth@twiddle.net>

On 28 April 2014 20:28, Richard Henderson <rth@twiddle.net> wrote:
> And use tcg pointer differencing functions as appropriate.
>
> Cc: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
>  tcg/tci/tcg-target.c | 19 +++++++++++++------
>  tcg/tci/tcg-target.h |  1 +
>  2 files changed, 14 insertions(+), 6 deletions(-)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

though I note there are a number of functions that
use the pattern

    uint8_t *old_code_ptr = s->code_ptr;
    [...emit stuff...]
    old_code_ptr[1] = s->code_ptr - old_code_ptr;

which could perhaps use tcg_insn_unit * rather than uint8_t * ?

thanks
-- PMM

  parent reply	other threads:[~2014-05-09 13:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1398713302-29657-1-git-send-email-rth@twiddle.net>
     [not found] ` <1398713302-29657-11-git-send-email-rth@twiddle.net>
2014-05-02 15:19   ` [Qemu-devel] [PATCH v3 10/16] tcg-arm: Define TCG_TARGET_INSN_UNIT_SIZE Peter Maydell
2014-05-02 15:24     ` Richard Henderson
2014-05-09 14:08       ` Peter Maydell
     [not found] ` <1398713302-29657-13-git-send-email-rth@twiddle.net>
2014-05-09 13:35   ` [Qemu-devel] [PATCH v3 12/16] tcg-s390: " Peter Maydell
2014-05-12 17:05     ` Richard Henderson
2014-05-12 20:41       ` Peter Maydell
     [not found] ` <1398713302-29657-15-git-send-email-rth@twiddle.net>
2014-05-09 13:39   ` [Qemu-devel] [PATCH v3 14/16] tcg-mips: " Peter Maydell
     [not found] ` <1398713302-29657-16-git-send-email-rth@twiddle.net>
2014-05-09 13:52   ` Peter Maydell [this message]
2014-05-12 23:13     ` [Qemu-devel] [PATCH v3 15/16] tci: " Richard Henderson
     [not found] ` <1398713302-29657-12-git-send-email-rth@twiddle.net>
2014-05-09 14:09   ` [Qemu-devel] [PATCH v3 11/16] tcg-aarch64: " 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=CAFEAcA98xoR-41qSeEqN4AUHGKRvRotvjyQtppiuaMNGSwzmQg@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=sw@weilnetz.de \
    /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.