From: Aurelien Jarno <aurelien@aurel32.net>
To: Christophe Lyon <christophe.lyon@st.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] target-arm: Fix Neon vsra instructions.
Date: Fri, 4 Feb 2011 20:49:40 +0100 [thread overview]
Message-ID: <20110204194940.GC10125@volta.aurel32.net> (raw)
In-Reply-To: <4D3F05D0.9070906@st.com>
On Tue, Jan 25, 2011 at 06:18:08PM +0100, Christophe Lyon wrote:
> This patch fixes the errors reported by my tests in VSRA.
>
> Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
> ---
> target-arm/translate.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Thanks applied.
> diff --git a/target-arm/translate.c b/target-arm/translate.c
> index 7cb48c0..4cf2ecd 100644
> --- a/target-arm/translate.c
> +++ b/target-arm/translate.c
> @@ -4697,7 +4697,7 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
> }
> if (op == 1 || op == 3) {
> /* Accumulate. */
> - neon_load_reg64(cpu_V0, rd + pass);
> + neon_load_reg64(cpu_V1, rd + pass);
> tcg_gen_add_i64(cpu_V0, cpu_V0, cpu_V1);
> } else if (op == 4 || (op == 5 && u)) {
> /* Insert */
> @@ -4761,7 +4761,7 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
> if (op == 1 || op == 3) {
> /* Accumulate. */
> tmp2 = neon_load_reg(rd, pass);
> - gen_neon_add(size, tmp2, tmp);
> + gen_neon_add(size, tmp, tmp2);
> dead_tmp(tmp2);
> } else if (op == 4 || (op == 5 && u)) {
> /* Insert */
> --
> 1.7.2.3
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
prev parent reply other threads:[~2011-02-04 19:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-25 17:18 [Qemu-devel] [PATCH] target-arm: Fix Neon vsra instructions Christophe Lyon
2011-01-31 15:48 ` Christophe Lyon
2011-02-04 11:44 ` Peter Maydell
2011-02-04 19:49 ` 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=20110204194940.GC10125@volta.aurel32.net \
--to=aurelien@aurel32.net \
--cc=christophe.lyon@st.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).