[PATCH v5 0/7] ppc/svp64: support SVP64 and its first insns

Dmitry Selyutin ghostmansd@gmail.com
Sun Jun 26 18:59:58 GMT 2022


These patches add support for LibreSOC machine and SVP64 extension flag
for PowerPC architecture. SV (Simple-V) is a strict RISC-paradigm
Scalable Vector Extension for the Power ISA. SVP64 is the 64-bit
Prefixed instruction format implementing SV. Funded by NLnet through EU
Grants No: 825310 and 825322, SV is in DRAFT form and is to be publicly
submitted via the OpenPOWER Foundation ISA Working Group via the
newly-created External RFC Process.

Changes since v4:
- Introduced svindex instruction along with SVI form.
- Fixed svstep test so that ranges for operand 0 are correct.
- Updated commit messages with the links to instructions.
- Renamed SVRMf field to SVrm.

Changes since v3:
- Applied the correct version of patches.

Changes since v2:
- All patches now have the description including links to docs.
- A new operand flag is introduced for ranges 1..n instead of 0..n-1.
- All tests are rewritten for simplicity's sake.

Changes since v1:
- Aliased instruction fields now appear after the original ones.

Dmitry Selyutin (7):
  ppc/svp64: support LibreSOC architecture
  ppc: introduce non-zero operand flag
  ppc/svp64: support setvl instructions
  ppc/svp64: support svstep instructions
  ppc/svp64: support svshape instruction
  ppc/svp64: support svremap instruction
  ppc/svp64: support svindex instruction

 gas/config/tc-ppc.c             | 24 ++++++++--
 gas/testsuite/gas/ppc/ppc.exp   |  6 +++
 gas/testsuite/gas/ppc/setvl.d   | 15 ++++++
 gas/testsuite/gas/ppc/setvl.s   |  7 +++
 gas/testsuite/gas/ppc/svindex.d | 16 +++++++
 gas/testsuite/gas/ppc/svindex.s |  8 ++++
 gas/testsuite/gas/ppc/svremap.d | 16 +++++++
 gas/testsuite/gas/ppc/svremap.s |  8 ++++
 gas/testsuite/gas/ppc/svshape.d | 13 +++++
 gas/testsuite/gas/ppc/svshape.s |  5 ++
 gas/testsuite/gas/ppc/svstep.d  | 13 +++++
 gas/testsuite/gas/ppc/svstep.s  |  5 ++
 include/opcode/ppc.h            | 10 ++++
 opcodes/ppc-dis.c               |  8 ++++
 opcodes/ppc-opc.c               | 84 +++++++++++++++++++++++++++++++++
 15 files changed, 235 insertions(+), 3 deletions(-)
 create mode 100644 gas/testsuite/gas/ppc/setvl.d
 create mode 100644 gas/testsuite/gas/ppc/setvl.s
 create mode 100644 gas/testsuite/gas/ppc/svindex.d
 create mode 100644 gas/testsuite/gas/ppc/svindex.s
 create mode 100644 gas/testsuite/gas/ppc/svremap.d
 create mode 100644 gas/testsuite/gas/ppc/svremap.s
 create mode 100644 gas/testsuite/gas/ppc/svshape.d
 create mode 100644 gas/testsuite/gas/ppc/svshape.s
 create mode 100644 gas/testsuite/gas/ppc/svstep.d
 create mode 100644 gas/testsuite/gas/ppc/svstep.s

-- 
2.36.1



More information about the Binutils mailing list