From: "Laurent Desnogues" <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [ARM] Problem in a NEON instruction
Date: Tue, 10 Jun 2008 12:32:17 +0200 [thread overview]
Message-ID: <761ea48b0806100332r16fc2eafxa2e9db5e5afadeb4@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
The rshl instruction is faulty. Note I did not check the correctness
of that instruction in general, I only made a change that looked logical.
Laurent
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: arm-neon.patch --]
[-- Type: text/x-patch; name=arm-neon.patch, Size: 460 bytes --]
--- svn-ref/target-arm/neon_helper.c 2008-06-09 08:52:48.000000000 +0200
+++ svn/target-arm/neon_helper.c 2008-06-10 12:27:38.000000000 +0200
@@ -456,7 +456,7 @@
if (tmp >= sizeof(src1) * 8) { \
dest = 0; \
} else if (tmp < -sizeof(src1) * 8) { \
- dest >>= sizeof(src1) * 8 - 1; \
+ dest = src1 >> (sizeof(src1) * 8 - 1); \
} else if (tmp == -sizeof(src1) * 8) { \
dest = src1 >> (tmp - 1); \
dest++; \
next reply other threads:[~2008-06-10 10:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 10:32 Laurent Desnogues [this message]
2008-10-14 9:23 ` [Qemu-devel] [ARM] Problem in a NEON instruction Aurelien Jarno
2008-10-14 9:52 ` Laurent Desnogues
2008-12-09 19:21 ` 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=761ea48b0806100332r16fc2eafxa2e9db5e5afadeb4@mail.gmail.com \
--to=laurent.desnogues@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).