| Age | Commit message (Collapse) | Author | Files | Lines |
|
The opcode[1:0] should 3 but not 2 for 32bits encoding
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Quoted from spec
"This version (020) differs from the previous one (019) with the addition of:
* SHL instructions (shift left or right, logical) that are unsigned
versions of the SHA instructions (shift left or right, arithmetic); and
* for RV64 only, ‘P’-suffi x versions of PNCLIP instructions that are
similar to RV32 PNCLIP instructions without shifting or rounding.
The complete set of instructions added for RV32 are:
PSSHL.HS SSHL PSSHL.DHS PSSHL.DWS
PSSHLR.HS SSHLR PSSHLR.DHS PSSHLR.DWS
And for RV64:
PSSHL.HS PSSHL.WS SHL PNCLIPP.B PNCLIPP.H PNCLIPP.W
PSSHLR.HS PSSHLR.WS SHLR PNCLIPUP.B PNCLIPUP.H PNCLIPUP.W"
reference:
https://www.jhauser.us/RISCV/ext-P/RVP-instrEncodings-020.pdf
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
* rvp: Add P extension
This commit add encodings for P Extension:
https://www.jhauser.us/RISCV/ext-P/RVP-instrEncodings-015.pdf
Signed-off-by: 2011eric <201165r1c@gmail.com>
* rvp: rename pmqwacc/mqrwacc
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: pdif has been renamed by pabd
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: fix some missing characters in instructions name
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: ppack has been renamed by ppair
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: add missing instructions
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: remove old grevi
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: convert 56 RV32 scalar instructions to pseudo-instructions of RV64 equivalents
Based on RVP-instrEncodings-019.pdf, converted RV32
scalar instructions that share the same encoding with RV64 packed-word
instructions to pseudo-instructions.
Instructions converted (56 total):
- Pages 4-8: sslai, ssha, sshar (3)
- Page 9: sadd, aadd, saddu, aaddu, ssub, asub, ssubu, asubu (8)
- Page 10: mul.h01, macc.h01, mulu.h01, maccu.h01 (4)
- Page 11: sh1sadd (1)
- Page 12: mul/macc/mulu/maccu/mulsu/maccsu.h00/h11 (12)
- Page 14: mqacc.h01, mqracc.h01 (2)
- Page 15: mseq, mslt, msltu (3)
- Page 16: mulhr, mhacc, mhracc, mulhru, mhaccu, mhraccu, mulh.h0/h1,
mulhsu.h0/h1, mhacc.h0/h1, mhaccsu.h0/h1, mulhrsu, mhaccsu, mhraccsu,
mulq, mulqr, mqacc.h00/h11, mqracc.h00/h11 (23)
Also removed packbt/packtb/packt pseudo-instructions that referenced
non-existent rv64_p instructions.
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: align indent and add comment by page
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: fix mnemonic typo
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
* rvp: add P-extension scalar pseudo-ops to emitted_pseudo_ops
---------
Signed-off-by: 2011eric <201165r1c@gmail.com>
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Co-authored-by: 2011eric <201165r1c@gmail.com>
|
|
Following ARC feedback, renaming Zvqdotq extension to Zvdot4a (as a pattern for Zvdot4a8i since encodings could be shared by other SEW)
and renaming vqdot instructions to vdot4a
Co-authored-by: Nicolas Brunie <nibrunie@gmail.com>
|
|
|
|
Signed-off-by: Puneet Goel <puneet@coverify.com>
|
|
* Add Zfhmin extension
* Zfhmin is a subset of zfh so this moves some instructions from rv_zfh
to the new rv_zfhmin file
* rv_d_zfh -> rv_d_zfhmin as it only contains zfhmin instructions
* Add q_zfhmin
|
|
According to the RISC-V unprivileged spec, the following instructions
have a zero-extended immediate:
* vsll_vi
* vsrl_vi",
* vsra_vi
* vnsrl_wi
* vnsra_wi
* vssrl_vi
* vssra_vi
* vnclipu_wi
* vnclip_wi
* vslideup_vi
* vslidedown_vi
* vrgather_vi
|
|
* add zvabd draft spec
* renaming according to ARC review
* fix missing newline
|
|
|
|
* Split zabha into zabha and zabha_zacas
* Move AMOCAS.H and AMOCAS.B instructions into the new rv_zabha_zacas
file
* Run pre-commit
|
|
|
|
reference
https://riscv.atlassian.net/wiki/spaces/FPXX/pages/552370182/2025-06-02+Ordinary+Meeting+Notes
https://github.com/aswaterman/riscv-misc/blob/e1e20a75c9a9fa797519fcc11ee997c7a7be4503/isa/zvfofp4min.adoc
Co-authored-by: tsewei-lin <tse-wei.lin@sifive.com>
|
|
reference:
https://github.com/riscv/zibi/releases/tag/v0.6
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
* Move Zilsd & Zclsd to ratified extensions directory
* Zilsd: Fixing difference in encoding to RV64 ld/sd
* Zilsd: Define instructions using pseudo ops
|
|
1. remove Zvbc import in Zvkn and Zvks extension
2. replace Zvbb with Zvkb in Zvkn and Zvks
Co-authored-by: lixiaogang <lixiaogang@masscore.cn>
|
|
|
|
|
|
(#347)
Signed-off-by: Afonso Oliveira <Afonso.Oliveira@synopsys.com>
|
|
|
|
|
|
* Update ratified opcodes
* Update ratified opcodes
|
|
Signed-off-by: Myrausman <maira.usman5703@gmail.com>
|