-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the Zvkb extension #236
base: vector-dev
Are you sure you want to change the base?
Commits on Mar 22, 2023
-
V extension general framework and configuration setting instructions (r…
…iscv#191) * V extension general framework and configuration setting instructions * Update model/riscv_insts_vext_utils.sail fix a typo Co-authored-by: Nicolas Brunie <nibrunie@gmail.com> Signed-off-by: BrighterW <xinlai.w@rioslab.org> * Update model/riscv_insts_vext_vset.sail * Revisions after Nov 22 meeting * Update effect matching for functions in riscv_vlen.sail * Fix code formatting issues * Update model/riscv_insts_vext_utils.sail Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com> Signed-off-by: Xinlai Wan <xinlai.w@rioslab.org> * Fix coding style issues * Update vset instructions Signed-off-by: BrighterW <xinlai.w@rioslab.org> Signed-off-by: Xinlai Wan <xinlai.w@rioslab.org> Co-authored-by: Nicolas Brunie <nibrunie@gmail.com> Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
Configuration menu - View commit details
-
Copy full SHA for 32b1b8f - Browse repository at this point
Copy the full SHA 32b1b8fView commit details -
Vector load / store instructions (riscv#198)
* Add vector load / store instructions * Modify the implementation of SEW, LMUL, VLEN and avoid real numbers in the code * Update vstart setting in vector load / store instructions * Remove unnecessary assert statements in vector instructions * Fix bugs in vleff instructions and revise coding styles * Add guards for vector encdec clauses, Avoid redundant memory access after vector load/store failure
Configuration menu - View commit details
-
Copy full SHA for c673d33 - Browse repository at this point
Copy the full SHA c673d33View commit details -
Vector integer/fixed-point arithmetic & mask instructions (riscv#227)
* Add vector arithmetic & mask instructions * Update vector EEW and EMUL checking function * Add vector instruction illegal check functions * Adjust code formatting for vector instruction illegal check functions Merge approved by team at tech-golden-model meeting on 2023-03-14.
Configuration menu - View commit details
-
Copy full SHA for 5a0ae4f - Browse repository at this point
Copy the full SHA 5a0ae4fView commit details
Commits on May 1, 2023
-
Vector floating-point instructions (riscv#232)
* Add vector floating-point instructions * Update vector floating-point conversion instructions * Update copyright headers for vector extension code --------- Co-authored-by: xwan <xinlai.wan@rivai.ai>
Configuration menu - View commit details
-
Copy full SHA for c5ab726 - Browse repository at this point
Copy the full SHA c5ab726View commit details
Commits on Jun 12, 2023
-
Vector reduction and mask instructions (riscv#259)
* Add vector mask and reduction instructions * Fix register overlap check in vector mask instructions --------- Co-authored-by: xwan <xinlai.wan@rivai.ai>
Configuration menu - View commit details
-
Copy full SHA for 3a3b1c0 - Browse repository at this point
Copy the full SHA 3a3b1c0View commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 15364c0 - Browse repository at this point
Copy the full SHA 15364c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5872908 - Browse repository at this point
Copy the full SHA 5872908View commit details -
Zvkb: add infrastructure for Zvkb
To support the implementation of Zvkb extensions in SAIL, this creates the necessary infrastructure(i.e., a file to hold it, and the extension macro), preparing the tree for the Zvkb implementation. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for a9f0141 - Browse repository at this point
Copy the full SHA a9f0141View commit details -
Zvkb: add "vrol.[vv,vx]" instruction
Vector rotate left by vector(.vv) or scalar(.vx). The elements in vs2 are rotated left by the rotate amount specified by either the cotrresponding elements of vs1 (vector-vector), or integer register rs1 (vector-scalar). Only the low log2(SEW) bits of the rotate-amount value are used, all other bits are ignored Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 86d63d6 - Browse repository at this point
Copy the full SHA 86d63d6View commit details -
Zvkb: add "vror.[vv,vx,vi]" instructions
Vector rotate right by vector/scalar/immediate. The elements in vs2 are rotated right by the rotate amount specified by either the corresponding elements of vs1 (vector-vector), integer register rs1 (vector-scalar), or an immediate value (vector-immediate). Only the low log2(SEW) bits of the rotate-amount value are used, all other bits are ignored. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 15f0c1f - Browse repository at this point
Copy the full SHA 15f0c1fView commit details -
Zvkb: add "vbrev8.v" instruction
Vector Reverse Bits in Bytes, a bit reversal is performed on the bits of each byte. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for f4a5aec - Browse repository at this point
Copy the full SHA f4a5aecView commit details -
Zvkb: add "vrev8.v" instrcuction
Vector Reverse Bytes A byte reversal is performed on each element of vs2, effectively performing an endian swap. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for d0ea7f0 - Browse repository at this point
Copy the full SHA d0ea7f0View commit details -
Zvkb: add "vandn.[vv,vx]" instructions
Bitwise And-Not. Each bit of Op1 is inverted and logically ANDed with the corresponding bits in vs2. In the vector- scalar version, "Op1" is the sign-extended or truncated value in scalar register rs1. In the vector-vector version, Op1 is vs1. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for d40d62b - Browse repository at this point
Copy the full SHA d40d62bView commit details -
Zvkb: add "vclmul.[vv,vx]" instructions
Produces the low half of 128-bit carry-less product. Each 64-bit element in the vs2 vector register is carry-less multiplied by either each 64-bit element in vs1 (vector-vector), or the 64-bit value from integer register rs1 (vector-scalar). The result is the least significant 64 bits of the carry-less product. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 7bf0ebe - Browse repository at this point
Copy the full SHA 7bf0ebeView commit details -
Zvkb: add "vclmulh.[vv,vx]" instructions
Vector Carry-less Multiply by vector or scalar - returning high half of product. Each 64-bit element in the vs2 vector register is carry-less multiplied by either each 64-bit element in vs1 (vector-vector), or the 64-bit value from integer register rs1 (vector-scalar). The result is the most significant 64 bits of the carry-less product. Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 1b71422 - Browse repository at this point
Copy the full SHA 1b71422View commit details