qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH 0/6] tcg conditional set/move, round 2
Date: Fri, 18 Dec 2009 12:37:51 +0100	[thread overview]
Message-ID: <761ea48b0912180337k627350b7ma7ab54cd248815eb@mail.gmail.com> (raw)
In-Reply-To: <cover.1261078375.git.rth@twiddle.net>

On Thu, Dec 17, 2009 at 8:32 PM, Richard Henderson <rth@twiddle.net> wrote:
>> funny how you seem to follow the same paths I did months ago :-)
>
> Heh.  They are the obvious points for improvement in the emulation.
> Hopefully we can get them finished this time, so that some third
> person doesn't go through the same thing next year.  =)

I agree :-)

>> - cosmetics: don't use tabs and be sure not to have
>>   whitespaces at end of lines
>
> Grr, I thought I'd been extra careful about that.  Fixed.
>
>> - the changes to tcg-op.h in patch 6 should go with patch 1
>
> Done.
>
>> - outside of the small parameter handling, I'd prefer
>>   you provide a separate patch for tcg_out_brcond2;
>>   I don't think the changes using c1, c2 and c3 really
>>   belong to setcond/movcond.
>
> The i386 part has been split into 3 patches, though they
> are sequentially dependent.
>
> I've left off the sparc backend patch, as well as the patches
> for the translators.  Let's take care of these first.

Thanks, that will make things easier.

>
> r~
> ---
>
> Richard Henderson (6):

This is a first pass of review.  It's far complete (in particular no
testing was done).

Here is a summary of my comments:

>  tcg: Generic support for conditional set and conditional move.

Needs cosmetics changes.

>  tcg: Add tcg_invert_cond.

OK.

>  tcg-x86_64: Implement setcond and movcond.

Some cosmetics and comments, but overall good.

>  tcg-i386: Implement small forward branches.

I think this contains a bug.

>  tcg-i386: Simplify brcond2.

I don't like the rewrite of brcond2.

>  tcg-i386: Implement setcond, movcond, setcond2.

Not yet reviewed.


Laurent

>
>  elf.h                   |    2 +
>  tcg/README              |   26 ++++-
>  tcg/i386/tcg-target.c   |  278 ++++++++++++++++++++++++++++++++++++++--------
>  tcg/tcg-op.h            |   91 +++++++++++++++
>  tcg/tcg-opc.h           |    5 +
>  tcg/tcg.c               |   23 +++-
>  tcg/tcg.h               |    5 +
>  tcg/x86_64/tcg-target.c |   65 +++++++++++-
>  8 files changed, 436 insertions(+), 59 deletions(-)
>
>

  parent reply	other threads:[~2009-12-18 11:38 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <761ea48b0912170620l534dcb02m8ea6b59524d76dbe@mail.gmail.com>
2009-12-17 19:32 ` [Qemu-devel] [PATCH 0/6] tcg conditional set/move, round 2 Richard Henderson
2009-12-17 17:27   ` [Qemu-devel] [PATCH 1/6] tcg: Generic support for conditional set and conditional move Richard Henderson
2009-12-17 20:50     ` malc
2009-12-18 11:38     ` [Qemu-devel] " Laurent Desnogues
2009-12-17 17:28   ` [Qemu-devel] [PATCH 2/6] tcg: Add tcg_invert_cond Richard Henderson
2009-12-18 11:39     ` [Qemu-devel] " Laurent Desnogues
2009-12-17 17:32   ` [Qemu-devel] [PATCH 3/6] tcg-x86_64: Implement setcond and movcond Richard Henderson
2009-12-18 11:39     ` [Qemu-devel] " Laurent Desnogues
2009-12-18 17:11       ` Richard Henderson
2009-12-18 17:41         ` Laurent Desnogues
2009-12-17 17:55   ` [Qemu-devel] [PATCH 4/6] tcg-i386: Implement small forward branches Richard Henderson
2009-12-18 11:39     ` [Qemu-devel] " Laurent Desnogues
2009-12-18 17:16       ` Richard Henderson
2009-12-17 18:38   ` [Qemu-devel] [PATCH 5/6] tcg-i386: Simplify brcond2 Richard Henderson
2009-12-18 11:40     ` [Qemu-devel] " Laurent Desnogues
2009-12-18 17:45       ` Richard Henderson
2009-12-17 19:08   ` [Qemu-devel] [PATCH 6/6] tcg-i386: Implement setcond, movcond, setcond2 Richard Henderson
2009-12-18 11:37   ` Laurent Desnogues [this message]
2009-12-18 21:38     ` [Qemu-devel] tcg conditional set/move, round 3 Richard Henderson
2009-12-19 11:40       ` [Qemu-devel] " Laurent Desnogues
2009-12-19 16:09         ` Richard Henderson
2009-12-19 12:09       ` [Qemu-devel] " Andreas Färber
2009-12-19 13:03       ` Aurelien Jarno
2009-12-19 13:32         ` Aurelien Jarno
2009-12-19 16:19         ` Richard Henderson
2009-12-19 23:02           ` Aurelien Jarno

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=761ea48b0912180337k627350b7ma7ab54cd248815eb@mail.gmail.com \
    --to=laurent.desnogues@gmail.com \
    --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).