Skip to content

target-ppc: Base ISA V2.07 for Power8

Tom Musta qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to ppc-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 3 repliesApplied
  2. v29 patches 5 repliesSuperseded
  3. v18 patches 8 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9target-ppc: Add Flag for bctartarget-ppc/cpu.h target-ppc/translate_init.c+5 -30 replies
2/9target-ppc: Add Target Address SPR (TAR) to Power8target-ppc/cpu.h target-ppc/translate_init.c+14 -10 replies
3/9target-ppc: Add bctar Instructiontarget-ppc/translate.c+10 -10 replies
4/9target-ppc: Add Flag for ISA 2.07 Load/Store Quadword Instructionstarget-ppc/cpu.h target-ppc/translate_init.c+5 -20 replies
5/9target-ppc: Add is_user_mode Utility Routinetarget-ppc/translate.c+14 -00 replies
6/9target-ppc: Load Quadwordtarget-ppc/translate.c target-ppc/translate_init.c+23 -150 replies
7/9target-ppc: Store Quadwordtarget-ppc/translate.c+23 -160 replies
8/9target-ppc: Add Load Quadword and Reservetarget-ppc/cpu.h target-ppc/translate.c+38 -00 replies
9/9target-ppc: Add Store Quadword Conditionallinux-user/main.c target-ppc/translate.c+38 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [V3 PATCH 0/9] target-ppc: Base ISA V2.07 for Power8

This patch series adds the branch and integer instructions that were introduced in Power ISA 2.07. Specifically,

- There is a new conditional Branch to Address Register (bctar) instruction.
- The load/store quadword instructions are now supported in user mode (Book I).
- Quadword atomic instructions have been added (lqarx, stqcx.).

ISA 2.07 additions for other categories (VSX, Altivec, Decimal Floating Point, transactional memory) are not included in this patch series; they will be contributed via other patches.

V2: Addressing review comments from Alex Graf:
(1) Refactored user-mode and Little Endian checks in the load and store quadword instructions.
(2) Added reserve_val2 element to CPU state in support of quadword atomic instructions.

V3: Addressiew review comments from Alex Graf:
(1) Moved declaration of local variables to the beginning of the block (a la C89 standard).
(2) Fixed bugs in handling of secondary reservation doubleword used in lqarx and stqcx. instructions.

Tom Musta (9):
target-ppc: Add Flag for bctar
target-ppc: Add Target Address SPR (TAR) to Power8
target-ppc: Add bctar Instruction
target-ppc: Add Flag for ISA 2.07 Load/Store Quadword Instructions
target-ppc: Add is_user_mode Utility Routine
target-ppc: Load Quadword
target-ppc: Store Quadword
target-ppc: Add Load Quadword and Reserve
target-ppc: Add Store Quadword Conditional

 linux-user/main.c           |   18 +++++-
 target-ppc/cpu.h            |   10 ++-
 target-ppc/translate.c      |  158 ++++++++++++++++++++++++++++++++++---------
 target-ppc/translate_init.c |   19 +++++-
 4 files changed, 168 insertions(+), 37 deletions(-)