qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org, Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] target-sh4: Use new qemu_ld/st opcodes
Date: Fri, 13 Dec 2013 14:36:37 +0100	[thread overview]
Message-ID: <20131213133637.GR4601@hall.aurel32.net> (raw)
In-Reply-To: <877gb9gkj6.fsf@linaro.org>

On Fri, Dec 13, 2013 at 09:36:13AM +0000, Alex Bennée wrote:
> 
> aurelien@aurel32.net writes:
> 
> > Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
> > ---
> >  target-sh4/translate.c |  167 ++++++++++++++++++++++++++----------------------
> >  1 file changed, 90 insertions(+), 77 deletions(-)
> >
> > diff --git a/target-sh4/translate.c b/target-sh4/translate.c
> > index 2272eb0..87f532a 100644
> > --- a/target-sh4/translate.c
> > +++ b/target-sh4/translate.c
> > @@ -464,7 +464,7 @@ static void _decode_opc(DisasContext * ctx)
> >  	{
> >  	    TCGv addr = tcg_temp_new();
> >  	    tcg_gen_addi_i32(addr, REG(B11_8), B3_0 * 4);
> > -	    tcg_gen_qemu_st32(REG(B7_4), addr, ctx->memidx);
> > +            tcg_gen_qemu_st_i32(REG(B7_4), addr, ctx->memidx, MO_TEUL);
> >  	    tcg_temp_free(addr);
> <snip>
> 
> There seems to be a fix of tabs and spaces in that patch.
> 

Indeed, this file is partly tabs indented for historical reasons, so
they are changed to space in the patch, to conform to the QEMU coding
style. AFAIK there is a consensus that things should be done that way.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

      reply	other threads:[~2013-12-13 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13  0:07 [Qemu-devel] [PATCH] target-sh4: Use new qemu_ld/st opcodes Aurelien Jarno
2013-12-13  3:33 ` Edgar E. Iglesias
2013-12-13  9:36 ` Alex Bennée
2013-12-13 13:36   ` Aurelien Jarno [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=20131213133637.GR4601@hall.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).