target-ppc: VSX Stage 4
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
- v7 Latest18 patches 5 repliesApplied
- v618 patches 6 repliesSuperseded
- v514 patches 1 replySuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 14 patches | 1 reply | Superseded | |
| v3 | 14 patches | 3 replies | Superseded | |
| v2 | 14 patches | 1 reply | Superseded | |
| v1 | 14 patches | 10 replies | Superseded |
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | target-ppc: VSX Stage 4: Add VSX 2.07 Flagtarget-ppc/ target-ppc/ | +4 | 0 replies | |
| 2/18 | target-ppc: VSX Stage 4: Refactor lxsdxtarget-ppc/ | +17 | 0 replies | |
| 3/18 | target-ppc: VSX Stage 4: Add lxsiwax, lxsiwzx and lxsspxtarget-ppc/ | +14 | 0 replies | |
| 4/18 | target-ppc: VSX Stage 4: Refactor stxsdxtarget-ppc/ | +15 | 0 replies | |
| 5/18 | target-ppc: VSX Stage 4: Add stxsiwx and stxsspxtarget-ppc/ | +4 | 0 replies | |
| 6/18 | target-ppc: VSX Stage 4: Add xsaddsp and xssubsptarget-ppc/ target-ppc/ target-ppc/ | +22 | 0 replies | |
| 7/18 | target-ppc: VSX Stage 4: Add xsmulsptarget-ppc/ target-ppc/ target-ppc/ | +12 | 0 replies | |
| 8/18 | target-ppc: VSX Stage 4: Add xsdivsptarget-ppc/ target-ppc/ target-ppc/ | +12 | 0 replies | |
| 9/18 | target-ppc: VSX Stage 4: Add xsresptarget-ppc/ target-ppc/ target-ppc/ | +13 | 0 replies | |
| 10/18 | target-ppc: VSX Stage 4: Add xssqrtsptarget-ppc/ target-ppc/ target-ppc/ | +12 | 0 replies | |
| 11/18 | target-ppc: VSX Stage 4: add xsrsqrtesptarget-ppc/ target-ppc/ target-ppc/ | +12 | 0 replies | |
| 12/18 | target-ppc: VSX Stage 4: Add Scalar SP Fused Multiply-Addstarget-ppc/ target-ppc/ target-ppc/ | +77 | 0 replies | |
| 13/18 | target-ppc: VSX Stage 4: Add xscvsxdsp and xscvuxdsptarget-ppc/ target-ppc/ target-ppc/ | +22 | 0 replies | |
| 14/18 | target-ppc: VSX Stage 4: Add xxleqv, xxlnand and xxlorctarget-ppc/ | +6 | 0 replies | |
| 15/18 | target-ppc: Move To/From VSR Instructionstarget-ppc/ | +59 | 1 reply | |
| 16/18 | target-ppc: Floating Merge Word Instructionstarget-ppc/ | +28 | 1 reply | |
| 17/18 | target-ppc: Scalar Round to Single Precisiontarget-ppc/ target-ppc/ target-ppc/ | +29 | 1 reply | |
| 18/18 | target-ppc: Scalar Non-Signalling Conversionstarget-ppc/ target-ppc/ target-ppc/ | +22 | 1 reply |
Reviews trailers per patch
All 18 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/18 | R-b |
| 2/18 | R-b |
| 3/18 | R-b |
| 4/18 | R-b |
| 5/18 | R-b |
| 6/18 | R-b |
| 7/18 | R-b |
| 8/18 | R-b |
| 9/18 | R-b |
| 10/18 | R-b |
| 11/18 | R-b |
| 12/18 | R-b |
| 13/18 | R-b |
| 14/18 | R-b |
| 15/18 | R-b |
| 16/18 | R-b |
| 17/18 | R-b |
| 18/18 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [V7 PATCH 00/18] target-ppc: VSX Stage 4
This is the fourth and final series of patches that add emulation support to QEMU for the PowerPC Vector Scalar Extension (VSX).
This series adds the instructions that were newly introduced with Power ISA V2.07. This includes 3 scalar load instructions, 2 scalar store instructions, 7 standard single precision scalar arithmetic instructions, 8 scalar single precision fused multiply/add instructions, two integer-to-single-precision conversion instructions and 3 vector logical instructions.
The single-precision scalar arithmetic instructions all interpret the most significant 64 bits of a VSR as a single precision floating point number stored in double precision format (similar to the standard PowerPC floating point single precision instructions). Thus a common theme in the supporting code is rounding of an intermediate double-precision number to single precision.
V2: (a) Changed the rounding to single precision to reuse the existing helper_frsp() routine. (b) Re-implemented the fused multiply/add instructions to use float32_muladd instead of float64_muladd, which avoids subtle rounding errors.
V3: Re-implemented fused multiply/add per clarification from Richard Henderson.
V4: Changed fused multiply/add to use helper_frsp (inadvertently re-injected when I used an earlier patch).
V5: Fixed tcg compilation problems.
V6: Added instructions that were previously missed.
V7: Optimized m[ft]vsrd, fmrgow instructions. Changed signatures of some scalar helpers.
Tom Musta (18):
target-ppc: VSX Stage 4: Add VSX 2.07 Flag
target-ppc: VSX Stage 4: Refactor lxsdx
target-ppc: VSX Stage 4: Add lxsiwax, lxsiwzx and lxsspx
target-ppc: VSX Stage 4: Refactor stxsdx
target-ppc: VSX Stage 4: Add stxsiwx and stxsspx
target-ppc: VSX Stage 4: Add xsaddsp and xssubsp
target-ppc: VSX Stage 4: Add xsmulsp
target-ppc: VSX Stage 4: Add xsdivsp
target-ppc: VSX Stage 4: Add xsresp
target-ppc: VSX Stage 4: Add xssqrtsp
target-ppc: VSX Stage 4: add xsrsqrtesp
target-ppc: VSX Stage 4: Add Scalar SP Fused Multiply-Adds
target-ppc: VSX Stage 4: Add xscvsxdsp and xscvuxdsp
target-ppc: VSX Stage 4: Add xxleqv, xxlnand and xxlorc
target-ppc: Move To/From VSR Instructions
target-ppc: Floating Merge Word Instructions
target-ppc: Scalar Round to Single Precision
target-ppc: Scalar Non-Signalling Conversions
target-ppc/cpu.h | 4 +- target-ppc/fpu_helper.c | 222 ++++++++++++++++++++++++++++++------------- target-ppc/helper.h | 21 ++++ target-ppc/translate.c | 224 ++++++++++++++++++++++++++++++++++++++----- target-ppc/translate_init.c | 2 +- 5 files changed, 379 insertions(+), 94 deletions(-)