s390x/tcg: Vector Instruction Support Part 2
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest40 patches 9 repliesIn review
- v241 patches 13 repliesSuperseded
- v141 patches 61 repliesSuperseded
Changes in v3 from the cover letter
- Use new vector helpers tcg_gen_gvec_abs(), tcg_gen_gvec_shl() and friends and tcg_gen_gvec_shlv() and friends.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/40 | s390x/tcg: Implement VECTOR ADDtarget/ target/ | +57 | 0 replies | |
| 2/40 | s390x/tcg: Implement VECTOR ADD COMPUTE CARRYtarget/ target/ | +96 | 2 replies | |
| 3/40 | s390x/tcg: Implement VECTOR ADD WITH CARRYtarget/ target/ | +65 | 0 replies | |
| 4/40 | s390x/tcg: Implement VECTOR ADD WITH CARRY COMPUTE CARRYtarget/ target/ | +34 | 1 reply | |
| 5/40 | s390x/tcg: Implement VECTOR AND (WITH COMPLEMENT)target/ target/ | +18 | 0 replies | |
| 6/40 | s390x/tcg: Implement VECTOR AVERAGEtarget/ target/ target/ +2 more | +103 | 0 replies | |
| 7/40 | s390x/tcg: Implement VECTOR AVERAGE LOGICALtarget/ target/ target/ +1 more | +68 | 0 replies | |
| 8/40 | s390x/tcg: Implement VECTOR CHECKSUMtarget/ target/ | +67 | 0 replies | |
| 9/40 | s390x/tcg: Implement VECTOR ELEMENT COMPARE *target/ target/ | +24 | 0 replies | |
| 10/40 | s390x/tcg: Implement VECTOR COMPARE *target/ target/ target/ +3 more | +54 | 0 replies | |
| 11/40 | s390x/tcg: Implement VECTOR COUNT LEADING ZEROStarget/ target/ target/ +1 more | +49 | 0 replies | |
| 12/40 | s390x/tcg: Implement VECTOR COUNT TRAILING ZEROStarget/ target/ target/ +1 more | +46 | 1 reply | |
| 13/40 | s390x/tcg: Implement VECTOR EXCLUSIVE ORtarget/ target/ | +9 | 0 replies | |
| 14/40 | s390x/tcg: Implement VECTOR GALOIS FIELD MULTIPLY SUM (AND ACCUMULATE)target/ target/ target/ +1 more | +217 | 0 replies | |
| 15/40 | s390x/tcg: Implement VECTOR LOAD COMPLEMENTtarget/ target/ | +18 | 0 replies | |
| 16/40 | s390x/tcg: Implement VECTOR LOAD POSITIVEtarget/ target/ | +15 | 0 replies | |
| 17/40 | s390x/tcg: Implement VECTOR (MAXIMUM|MINIMUM) (LOGICAL)target/ target/ | +39 | 0 replies | |
| 18/40 | s390x/tcg: Implement VECTOR MULTIPLY AND ADD *target/ target/ target/ +1 more | +277 | 0 replies | |
| 19/40 | s390x/tcg: Implement VECTOR MULTIPLY *target/ target/ target/ +1 more | +218 | 0 replies | |
| 20/40 | s390x/tcg: Implement VECTOR NANDtarget/ target/ target/ | +10 | 0 replies | |
| 21/40 | s390x/tcg: Implement VECTOR NORtarget/ target/ | +9 | 0 replies | |
| 22/40 | s390x/tcg: Implement VECTOR NOT EXCLUSIVE ORtarget/ target/ | +9 | 0 replies | |
| 23/40 | s390x/tcg: Implement VECTOR ORtarget/ target/ | +9 | 0 replies | |
| 24/40 | s390x/tcg: Implement VECTOR OR WITH COMPLEMENTtarget/ target/ | +9 | 0 replies | |
| 25/40 | s390x/tcg: Implement VECTOR POPULATION COUNTtarget/ target/ target/ +1 more | +37 | 0 replies | |
| 26/40 | s390x/tcg: Implement VECTOR ELEMENT ROTATE LEFT LOGICALtarget/ target/ target/ +1 more | +98 | 0 replies | |
| 27/40 | s390x/tcg: Implement VECTOR ELEMENT ROTATE AND INSERT UNDER MASKtarget/ target/ target/ +1 more | +75 | 1 reply | |
| 28/40 | s390x/tcg: Implement VECTOR ELEMENT SHIFTtarget/ target/ | +93 | 0 replies | |
| 29/40 | s390x/tcg: Implement VECTOR SHIFT LEFT (BY BYTE)target/ target/ target/ +1 more | +31 | 0 replies | |
| 30/40 | s390x/tcg: Implement VECTOR SHIFT LEFT DOUBLE BY BYTEtarget/ target/ | +31 | 1 reply | |
| 31/40 | s390x/tcg: Implement VECTOR SHIFT RIGHT ARITHMETICtarget/ target/ target/ +1 more | +48 | 0 replies | |
| 32/40 | s390x/tcg: Implement VECTOR SHIFT RIGHT LOGICAL *target/ target/ target/ +1 more | +28 | 0 replies | |
| 33/40 | s390x/tcg: Implement VECTOR SUBTRACTtarget/ target/ | +19 | 0 replies | |
| 34/40 | s390x/tcg: Implement VECTOR SUBTRACT COMPUTE BORROW INDICATIONtarget/ target/ target/ +1 more | +72 | 1 reply | |
| 35/40 | s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW INDICATIONtarget/ target/ | +28 | 0 replies | |
| 36/40 | s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW COMPUTE BORROW INDICATIONtarget/ target/ | +36 | 1 reply | |
| 37/40 | s390x/tcg: Implement VECTOR SUM ACROSS DOUBLEWORDtarget/ target/ | +31 | 0 replies | |
| 38/40 | s390x/tcg: Implement VECTOR SUM ACROSS QUADWORDtarget/ target/ | +34 | 0 replies | |
| 39/40 | s390x/tcg: Implement VECTOR SUM ACROSS WORDtarget/ target/ | +31 | 0 replies | |
| 40/40 | s390x/tcg: Implement VECTOR TEST UNDER MASKtarget/ target/ target/ +1 more | +32 | 1 reply |
Reviews trailers per patch
All 40 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 00/40] s390x/tcg: Vector Instruction Support Part 2
This is the second part of vector instruction support for s390x. It is based on the series by Richard:
[PATCH v2 00/29] tcg vector improvements
Part 1: Vector Support Instructions
Part 2: Vector Integer Instructions
Part 3: Vector String Instructions
Part 4: Vector Floating-Point Instructions
The current state can be found at (kept updated):
https://github.com/davidhildenbrand/qemu/tree/vx
With the current state I can boot Linux kernel + user space compiled with SIMD support. This allows to boot distributions compiled exclusively for z13, requiring SIMD support. Also, it is now possible to build a complete kernel using rpmbuild as quite some issues have been sorted out.
In this part, all Vector Integer Instructions introduced with the "Vector Facility" are added. Some instructions part of the Vector Extension Facilities are also added.
v2 -> v3:
- Use new vector helpers tcg_gen_gvec_abs(), tcg_gen_gvec_shl() and friends and tcg_gen_gvec_shlv() and friends.
v1 -> v2:
- Many suggestions and fixes as outlined by Richard H.
-- Mostly avoid oom helpers for 128-bit add/sub variants
-- New vector helpers are not considered for now
David Hildenbrand (40):
s390x/tcg: Implement VECTOR ADD
s390x/tcg: Implement VECTOR ADD COMPUTE CARRY
s390x/tcg: Implement VECTOR ADD WITH CARRY
s390x/tcg: Implement VECTOR ADD WITH CARRY COMPUTE CARRY s390x/tcg: Implement VECTOR AND (WITH COMPLEMENT) s390x/tcg: Implement VECTOR AVERAGE
s390x/tcg: Implement VECTOR AVERAGE LOGICAL
s390x/tcg: Implement VECTOR CHECKSUM
s390x/tcg: Implement VECTOR ELEMENT COMPARE *
s390x/tcg: Implement VECTOR COMPARE *
s390x/tcg: Implement VECTOR COUNT LEADING ZEROS
s390x/tcg: Implement VECTOR COUNT TRAILING ZEROS s390x/tcg: Implement VECTOR EXCLUSIVE OR
s390x/tcg: Implement VECTOR GALOIS FIELD MULTIPLY SUM (AND ACCUMULATE) s390x/tcg: Implement VECTOR LOAD COMPLEMENT
s390x/tcg: Implement VECTOR LOAD POSITIVE
s390x/tcg: Implement VECTOR (MAXIMUM|MINIMUM) (LOGICAL) s390x/tcg: Implement VECTOR MULTIPLY AND ADD *
s390x/tcg: Implement VECTOR MULTIPLY *
s390x/tcg: Implement VECTOR NAND
s390x/tcg: Implement VECTOR NOR
s390x/tcg: Implement VECTOR NOT EXCLUSIVE OR
s390x/tcg: Implement VECTOR OR
s390x/tcg: Implement VECTOR OR WITH COMPLEMENT
s390x/tcg: Implement VECTOR POPULATION COUNT
s390x/tcg: Implement VECTOR ELEMENT ROTATE LEFT LOGICAL s390x/tcg: Implement VECTOR ELEMENT ROTATE AND INSERT UNDER MASK s390x/tcg: Implement VECTOR ELEMENT SHIFT
s390x/tcg: Implement VECTOR SHIFT LEFT (BY BYTE) s390x/tcg: Implement VECTOR SHIFT LEFT DOUBLE BY BYTE s390x/tcg: Implement VECTOR SHIFT RIGHT ARITHMETIC s390x/tcg: Implement VECTOR SHIFT RIGHT LOGICAL * s390x/tcg: Implement VECTOR SUBTRACT
s390x/tcg: Implement VECTOR SUBTRACT COMPUTE BORROW INDICATION s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW INDICATION s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW COMPUTE BORROW
INDICATION
s390x/tcg: Implement VECTOR SUM ACROSS DOUBLEWORD s390x/tcg: Implement VECTOR SUM ACROSS QUADWORD
s390x/tcg: Implement VECTOR SUM ACROSS WORD
s390x/tcg: Implement VECTOR TEST UNDER MASK
target/s390x/Makefile.objs | 2 +- target/s390x/cc_helper.c | 17 + target/s390x/helper.c | 1 + target/s390x/helper.h | 66 ++ target/s390x/insn-data.def | 137 +++ target/s390x/internal.h | 1 + target/s390x/translate.c | 2 + target/s390x/translate_vx.inc.c | 1416 +++++++++++++++++++++++++++++++ target/s390x/vec_int_helper.c | 603 +++++++++++++ 9 files changed, 2244 insertions(+), 1 deletion(-) create mode 100644 target/s390x/vec_int_helper.c
Signature · 1 line
2.20.1