* [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions
@ 2008-12-13 19:08 Nathan Froyd
[not found] ` <5C882EC3-989B-4ED0-9EE7-BAB88161037A@hotmail.com>
2008-12-14 16:19 ` Thiemo Seufer
0 siblings, 2 replies; 4+ messages in thread
From: Nathan Froyd @ 2008-12-13 19:08 UTC (permalink / raw)
To: qemu-devel
This patch series adds support for integer Altivec instructions to QEMU,
including element-wise loads and stores. It's rather long (42
individual patches), so to avoid patch-bombing the list, I've placed the
patch series at:
http://www.method-combination.net/qemu/altivec-patches/
For easier viewing of the whole series, there's also one comprehensive
patch:
http://www.method-combination.net/qemu/altivec-patches/0000-BIG-PATCH.patch
diffstat says:
target-ppc/cpu.h | 10 +
target-ppc/helper.h | 127 +++++++
target-ppc/op_helper.c | 862 ++++++++++++++++++++++++++++++++++++++++++++++++
target-ppc/translate.c | 416 +++++++++++++++++++++++
4 files changed, 1415 insertions(+), 0 deletions(-)
Why only the integer instructions? I originally wrote support for the
whole instruction set, but I did it in the days of dyngen. So a
straight forward-port was out of the question. The original patch also
sloppily used native float, rather than float32, and used C99 math
functions to implement some of the more exotic Altivec instructions.
Both of these decisions mean that some care has to be taken in porting
the floating-point instructions.
I figured it'd be better to push out the integer instructions now and
the floating-point instructions later, rather than waiting for some
unspecified time for full support. (After all, target-ppc has done just
fine with only {l,st}vx{,l}, almost anything additional is an
improvement!)
Comments and/or commits on my behalf welcome. :)
-Nathan
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5C882EC3-989B-4ED0-9EE7-BAB88161037A@hotmail.com>]
* Re: [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions
[not found] ` <5C882EC3-989B-4ED0-9EE7-BAB88161037A@hotmail.com>
@ 2008-12-13 23:37 ` C.W. Betts
2008-12-13 23:45 ` Nathan Froyd
1 sibling, 0 replies; 4+ messages in thread
From: C.W. Betts @ 2008-12-13 23:37 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1761 bytes --]
I get a 403 forbidden error when trying to access http://www.method-combination.net/qemu/altivec-patches/
>
>
On Dec 13, 2008, at 12:08 PM, Nathan Froyd wrote:
> This patch series adds support for integer Altivec instructions to
> QEMU,
> including element-wise loads and stores. It's rather long (42
> individual patches), so to avoid patch-bombing the list, I've placed
> the
> patch series at:
>
> http://www.method-combination.net/qemu/altivec-patches/
>
> For easier viewing of the whole series, there's also one comprehensive
> patch:
>
> http://www.method-combination.net/qemu/altivec-patches/0000-BIG-PATCH.patch
>
> diffstat says:
>
> target-ppc/cpu.h | 10 +
> target-ppc/helper.h | 127 +++++++
> target-ppc/op_helper.c | 862 +++++++++++++++++++++++++++++++++++++++
> +++++++++
> target-ppc/translate.c | 416 +++++++++++++++++++++++
> 4 files changed, 1415 insertions(+), 0 deletions(-)
>
> Why only the integer instructions? I originally wrote support for the
> whole instruction set, but I did it in the days of dyngen. So a
> straight forward-port was out of the question. The original patch
> also
> sloppily used native float, rather than float32, and used C99 math
> functions to implement some of the more exotic Altivec instructions.
> Both of these decisions mean that some care has to be taken in porting
> the floating-point instructions.
>
> I figured it'd be better to push out the integer instructions now and
> the floating-point instructions later, rather than waiting for some
> unspecified time for full support. (After all, target-ppc has done
> just
> fine with only {l,st}vx{,l}, almost anything additional is an
> improvement!)
>
> Comments and/or commits on my behalf welcome. :)
>
> -Nathan
>
>
[-- Attachment #2: Type: text/html, Size: 2422 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions
[not found] ` <5C882EC3-989B-4ED0-9EE7-BAB88161037A@hotmail.com>
2008-12-13 23:37 ` C.W. Betts
@ 2008-12-13 23:45 ` Nathan Froyd
1 sibling, 0 replies; 4+ messages in thread
From: Nathan Froyd @ 2008-12-13 23:45 UTC (permalink / raw)
To: qemu-devel
On Sat, Dec 13, 2008 at 04:37:41PM -0700, C.W. Betts wrote:
> I get a 403 forbidden error when trying to access
> http://www.method-combination.net/qemu/altivec-patches/
Whoops, sorry about that. Fixed now. (Accessing files by name worked,
of course, but that only helped for the big patch.)
-Nathan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions
2008-12-13 19:08 [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions Nathan Froyd
[not found] ` <5C882EC3-989B-4ED0-9EE7-BAB88161037A@hotmail.com>
@ 2008-12-14 16:19 ` Thiemo Seufer
1 sibling, 0 replies; 4+ messages in thread
From: Thiemo Seufer @ 2008-12-14 16:19 UTC (permalink / raw)
To: Nathan Froyd; +Cc: qemu-devel
Nathan Froyd wrote:
> This patch series adds support for integer Altivec instructions to QEMU,
> including element-wise loads and stores. It's rather long (42
> individual patches), so to avoid patch-bombing the list, I've placed the
> patch series at:
>
> http://www.method-combination.net/qemu/altivec-patches/
Please patch-bomb instead, so we have patch and related discussion
(and signed-off lines) in the same mail archive.
Thiemo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-12-14 16:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13 19:08 [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions Nathan Froyd
[not found] ` <5C882EC3-989B-4ED0-9EE7-BAB88161037A@hotmail.com>
2008-12-13 23:37 ` C.W. Betts
2008-12-13 23:45 ` Nathan Froyd
2008-12-14 16:19 ` Thiemo Seufer
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).