-
Notifications
You must be signed in to change notification settings - Fork 163
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 Zvksed extension #245
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 <[email protected]> Signed-off-by: BrighterW <[email protected]> * 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 <[email protected]> Signed-off-by: Xinlai Wan <[email protected]> * Fix coding style issues * Update vset instructions Signed-off-by: BrighterW <[email protected]> Signed-off-by: Xinlai Wan <[email protected]> Co-authored-by: Nicolas Brunie <[email protected]> Co-authored-by: Jessica Clarke <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 -
Zvksed: Add infrastructure for Zvksed
To support the implementation of the Zvksed extension in SAIL, this creates the necessary infrastructure (i.e., a file to hold it, and the existence macro), preparing the tree for the Zvksed implementation. Signed-off-by: Charalampos Mitrodimas <[email protected]>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 09701e1 - Browse repository at this point
Copy the full SHA 09701e1View commit details -
Zvksed: add "vsm4k.vi" instruction
Vector SM4 KeyExpansion, four rounds of the SM4 Key expansion are performed. Note: zvksed_box_lookup & zvksed_sm4_sbox are created to work with 32bit values since sbox_lookup & sm4_sbox are used for 8bit values. The bits in uimm[4..3] are ignored. Round group numbers range from 0 to 7 and indicate which group of four round keys are being generated. Signed-off-by: Charalampos Mitrodimas <[email protected]>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 1a8dd85 - Browse repository at this point
Copy the full SHA 1a8dd85View commit details -
Zvksed: add "vsm4r.[vv,vs]" instructions
Vector SM4 Rounds, four rounds of SM4 Encryption/Decryption are performed. The four words of current state are read in as a 4-element group from 'vd' and the round keys are read in from the corresponding 4-element group in vs2 (vector-vector form) or the scalar element group in vs2 (vector-scalar form). The next four words of state are generated by iteratively XORing the last three words of the state with the corresponding round key, performing a byte-wise substitution, and then performing XORs between rotated versions of this value and the corresponding current state. Signed-off-by: Charalampos Mitrodimas <[email protected]>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for d4584ab - Browse repository at this point
Copy the full SHA d4584abView commit details -
Fix extension name in comments
Signed-off-by: Charalampos Mitrodimas <[email protected]>
Charalampos Mitrodimas committedJul 11, 2023 Configuration menu - View commit details
-
Copy full SHA for f4d9b88 - Browse repository at this point
Copy the full SHA f4d9b88View commit details