[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v2 00/10] target-ppc: emulate Power ISA 2.05 instructi
From: |
Aurelien Jarno |
Subject: |
[Qemu-ppc] [PATCH v2 00/10] target-ppc: emulate Power ISA 2.05 instructions |
Date: |
Sat, 20 Apr 2013 20:56:12 +0200 |
qemu-system-ppc64 -M pseries clamis to emulate a POWER7 CPU,
corresponding to an ISA 2.06 compliant CPU, while QEMU emulates
something like an ISA 2.04 CPU.
Given that glibc and GCC start to use some instructions like cmpb and
fcpsgn, this starts to be problematic.
This patches series improves the PPC emulation by bringing it to an
ISA 2.05 CPU (if we except DFP and VSX), at least from the
non-privledged point of view.
Changes v1 -> v2:
- Use (1ULL << 63) instead of (1LL << 63) to access the bit sign
- Improve description of load/store doubleword pair instructions
Aurelien Jarno (10):
target-ppc: optimize fabs, fnabs, fneg
disas: Disassemble all ppc insns for the guest
target-ppc: add instruction flags for Book I 2.05
target-ppc: emulate cmpb instruction
target-ppc: emulate prtyw and prtyd instructions
target-ppc: emulate fcpsgn instruction
target-ppc: emulate lfiwax instruction
target-ppc: emulate load doubleword pair instructions
target-ppc: emulate store doubleword pair instructions
target-ppc: add support for extended mtfsf/mtfsfi forms
disas.c | 1 +
target-ppc/cpu.h | 4 +-
target-ppc/fpu_helper.c | 48 ++------
target-ppc/helper.h | 4 +-
target-ppc/int_helper.c | 15 +++
target-ppc/translate.c | 260 +++++++++++++++++++++++++++++++++++++++----
target-ppc/translate_init.c | 2 +-
7 files changed, 268 insertions(+), 66 deletions(-)
--
1.7.10.4
- [Qemu-ppc] [PATCH v2 00/10] target-ppc: emulate Power ISA 2.05 instructions,
Aurelien Jarno <=
[Qemu-ppc] [PATCH v2 09/10] target-ppc: emulate store doubleword pair instructions, Aurelien Jarno, 2013/04/20
[Qemu-ppc] [PATCH v2 03/10] target-ppc: add instruction flags for Book I 2.05, Aurelien Jarno, 2013/04/20
[Qemu-ppc] [PATCH v2 07/10] target-ppc: emulate lfiwax instruction, Aurelien Jarno, 2013/04/20
[Qemu-ppc] [PATCH v2 02/10] disas: Disassemble all ppc insns for the guest, Aurelien Jarno, 2013/04/20
[Qemu-ppc] [PATCH v2 08/10] target-ppc: emulate load doubleword pair instructions, Aurelien Jarno, 2013/04/20