From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: Riku Voipio <riku.voipio@iki.fi>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/4] target-arm: neon - fix VRADDHN/VRSUBHN vs VADDHN/VSUBHN
Date: Sun, 7 Feb 2010 13:48:53 +0100 [thread overview]
Message-ID: <761ea48b1002070448w6cca394ak56c0e15c35efeca1@mail.gmail.com> (raw)
In-Reply-To: <1265385151-11024-2-git-send-email-riku.voipio@iki.fi>
On Fri, Feb 5, 2010 at 4:52 PM, Riku Voipio <riku.voipio@iki.fi> wrote:
> From: Riku Voipio <riku.voipio@nokia.com>
>
> The rounding/truncating options were inverted. truncating
> was done when rounding was meant and vice verse.
>
> Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Laurent
> ---
> target-arm/translate.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target-arm/translate.c b/target-arm/translate.c
> index 5cf3e06..4bd813a 100644
> --- a/target-arm/translate.c
> +++ b/target-arm/translate.c
> @@ -4957,7 +4957,7 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
> case 0: case 1: case 4: /* VADDL, VADDW, VADDHN, VRADDHN */
> gen_neon_addl(size);
> break;
> - case 2: case 3: case 6: /* VSUBL, VSUBW, VSUBHL, VRSUBHL */
> + case 2: case 3: case 6: /* VSUBL, VSUBW, VSUBHN, VRSUBHN */
> gen_neon_subl(size);
> break;
> case 5: case 7: /* VABAL, VABDL */
> @@ -5026,7 +5026,7 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
> } else if (op == 4 || op == 6) {
> /* Narrowing operation. */
> tmp = new_tmp();
> - if (u) {
> + if (!u) {
> switch (size) {
> case 0:
> gen_helper_neon_narrow_high_u8(tmp, cpu_V0);
> --
> 1.6.5
>
>
>
>
next prev parent reply other threads:[~2010-02-07 12:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-05 15:52 [Qemu-devel] [PATCH 0/4] arm/neon fixes Riku Voipio
2010-02-05 15:52 ` [Qemu-devel] [PATCH 1/4] target-arm: neon - fix VRADDHN/VRSUBHN vs VADDHN/VSUBHN Riku Voipio
2010-02-07 12:48 ` Laurent Desnogues [this message]
2010-02-28 18:33 ` Aurelien Jarno
2010-02-05 15:52 ` [Qemu-devel] [PATCH 2/4] target-arm: neon vshll instruction fix Riku Voipio
2010-02-07 12:51 ` Laurent Desnogues
2010-02-28 18:33 ` Aurelien Jarno
2010-02-05 15:52 ` [Qemu-devel] [PATCH 3/4] target-arm: neon emulation enhancements Riku Voipio
2010-02-05 15:52 ` [Qemu-devel] [PATCH 4/4] target-arm: neon fix Riku Voipio
2010-02-07 12:54 ` Laurent Desnogues
2010-02-07 13:02 ` Laurent Desnogues
2010-02-08 11:47 ` Riku Voipio
2010-02-08 16:05 ` Laurent Desnogues
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=761ea48b1002070448w6cca394ak56c0e15c35efeca1@mail.gmail.com \
--to=laurent.desnogues@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/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).