[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions, take
From: |
Nathan Froyd |
Subject: |
[Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions, take 2 |
Date: |
Tue, 30 Dec 2008 19:09:42 -0800 |
This is a follow-on to:
http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg01000.html
as Aurelien asked me to modify the notation for defining instructions in
target-ppc/translate.c. Since that change touched nearly every patch in
the series, I figured I would also take the opportunity to eliminate the
VECTOR_FOR macros that my patch used as well. I also fixed up various
TCG errors that turned up under DEBUG_TCG.
I did, however, leave the VECTOR_FOR_INORDER_I macros in place; I think
they are the clearest way to indicate that vectors are being iterated
over in target-endian order. Better than `#if defined(WORDS_BIGENDIAN)'
all over the code, IMHO.
As the message in:
http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg01106.html
indicated, m{f,t}vscr seems to be broken in some way; the code looks
correct to me, but I can't seem to puzzle out what's wrong with it. All
other instructions have been tested against an Altivec hardware
implementation. Except for the VSCR issue above, the simulated
instructions perform identically to their hardware-implemented versions.
-Nathan
- [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions, take 2,
Nathan Froyd <=
- [Qemu-devel] [PATCH 09/40] Add vscr access macros., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 15/40] Add v{add,sub}cuw instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 20/40] Add vs{l,r} instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 25/40] Add vsplt{b,h,w} instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 37/40] Add vmsumsh{m,s} instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 31/40] Add vsel and vperm instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 04/40] Add v{add,sub}u{b,h,w}m instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 10/40] Add vmrg{l,h}{b,h,w} instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 12/40] Add vsr{,a}{b,h,w} instructions., Nathan Froyd, 2008/12/30
- [Qemu-devel] [PATCH 29/40] Add GEN_VAFORM_PAIRED macro for subsequent instructions., Nathan Froyd, 2008/12/30