target-ppc: emulate Power ISA 2.05 instructions
Status from this message: Thanks, applied all to ppc-next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 5 repliesApplied
- v110 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- Use (1ULL << 63) instead of (1LL << 63) to access the bit sign
- Improve description of load/store doubleword pair instructions
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | target-ppc: optimize fabs, fnabs, fnegtarget-ppc/ target-ppc/ target-ppc/ | +34 | 0 replies | |
| 2/10 | disas: Disassemble all ppc insns for the guestdisas.c | +1 | 0 replies | |
| 3/10 | target-ppc: add instruction flags for Book I 2.05target-ppc/ target-ppc/ | +4 | 0 replies | |
| 4/10 | target-ppc: emulate cmpb instructiontarget-ppc/ target-ppc/ target-ppc/ | +24 | 0 replies | |
| 5/10 | target-ppc: emulate prtyw and prtyd instructionstarget-ppc/ | +38 | 4 replies | |
| 6/10 | target-ppc: emulate fcpsgn instructiontarget-ppc/ | +14 | 0 replies | |
| 7/10 | target-ppc: emulate lfiwax instructiontarget-ppc/ | +16 | 0 replies | |
| 8/10 | target-ppc: emulate load doubleword pair instructionstarget-ppc/ | +48 | 0 replies | |
| 9/10 | target-ppc: emulate store doubleword pair instructionstarget-ppc/ | +48 | 0 replies | |
| 10/10 | target-ppc: add support for extended mtfsf/mtfsfi formstarget-ppc/ target-ppc/ | +41 | 0 replies |
Reviews trailers per patch
6 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/10 | |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 00/10] target-ppc: emulate Power ISA 2.05 instructions
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(-)
Signature · 1 line
1.7.10.4