qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: Igor Kovalenko <igor.v.kovalenko@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] sparc64: fix helper_st_asi little endian case typo
Date: Sun, 12 Jul 2009 10:53:41 +0300	[thread overview]
Message-ID: <f43fc5580907120053j1eb5a406q185445c8a103ef31@mail.gmail.com> (raw)
In-Reply-To: <b2fa41d60907111357k5fcd5780we5cf79cc6765c4b7@mail.gmail.com>

On 7/11/09, Igor Kovalenko <igor.v.kovalenko@gmail.com> wrote:
> On Sun, Jul 12, 2009 at 12:43 AM, Stuart Brady<sdbrady@ntlworld.com> wrote:
>  > On Sat, Jul 11, 2009 at 10:22:18PM +0400, Igor Kovalenko wrote:
>  >> It is clear that intention is to byte-swap value to be written, not
>  >> the target address.
>  >
>  > @@ -1949,13 +1949,13 @@ void helper_st_asi(target_ulong addr, ta
>  >     case 0x89: // Secondary LE
>  >         switch(size) {
>  >         case 2:
>  > -            addr = bswap16(addr);
>  > +            addr = bswap16(val);
>  >             ^^^^
>  > Shouldn't that be 'val = bswap16(val)' (and likewise for the 32-bit and
>  > 64-bit cases)?  Also needs a 'signed-off-by:'...
>  >
>  > Cheers,
>  > --
>  > Stuart Brady
>  >
>
>
> Thanks, that part I did not runtime-tested.
>  Not sure if those asi stores are of any use for user-mode emulator.
>
>  Please find attached the corrected version.
>
>  Signed-off-by: igor.v.kovalenko@gmail.com

Thanks, I applied most of your patches.

      reply	other threads:[~2009-07-12  7:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11 18:22 [Qemu-devel] [PATCH] sparc64: fix helper_st_asi little endian case typo Igor Kovalenko
2009-07-11 20:43 ` Stuart Brady
2009-07-11 20:57   ` Igor Kovalenko
2009-07-12  7:53     ` Blue Swirl [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=f43fc5580907120053j1eb5a406q185445c8a103ef31@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=igor.v.kovalenko@gmail.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).