diff options
author | Tom Musta <tommusta@gmail.com> | 2014-02-12 15:22:55 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:06:52 +0100 |
commit | 5dffff5a4746075a4609366440c2c67983eec106 (patch) | |
tree | 035e1bb4bc73b37f67ada7a4928638735443ea4a /kvm-all.c | |
parent | 9b47bb490c1b272c16b8f5e216b74456a3e17322 (diff) | |
download | qemu-5dffff5a4746075a4609366440c2c67983eec106.zip qemu-5dffff5a4746075a4609366440c2c67983eec106.tar.gz qemu-5dffff5a4746075a4609366440c2c67983eec106.tar.bz2 |
target-ppc: Altivec 2.07: Add Support for Dual Altivec Instructions
Some Alitvec instructions introduced in Power ISA Version 2.07 use bit 31
(aka the "Rc" bit) as an opcode bit. However, QEMU for PowerPC uses
bits 0-5 and 21-30 for opcodes and not bit 31.
This patch introduces macros that will handle this situation by injecting
an auxiliary handler which decodes bit 31 in invokes one of two standard
handlers. Since the instructions are not, in general, from the same version
of the ISA, two sets of PPC_*/PPC2_* instruction tags are supported.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions