sail-riscv icon indicating copy to clipboard operation
sail-riscv copied to clipboard

Add support for the Zvksed extension

Open charmitro opened this issue 2 years ago • 3 comments

Implements the Zvksed (ShangMi Suite: SM4 Block Cipher) extension, as of version Draft: 20230303

The following instructions are included:

  • vsm4k.vi
  • vsm4r.[vv,vs]

All instructions were tested with VLEN & ELEN being manually adjusted; results were compared with QEMU results of each instruction.

Current revision is rebased with the latest changes of vector-dev branch.

charmitro avatar Mar 30 '23 18:03 charmitro

Updated the PR:

  • Correction on iterating based on the specification
  • Correctly Load & Store from/to vector registers

This update is adjusting the implementation to match the Spike implenentation and as a follow-up, ACT Signatures matching.

charmitro avatar Apr 18 '23 13:04 charmitro

Rebased from vector-dev branch.

charmitro avatar May 04 '23 13:05 charmitro

Unit Test Results

712 tests  ±0   712 :heavy_check_mark: ±0   0s :stopwatch: ±0s     6 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit f4d9b881. ± Comparison against base commit 58729080.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar May 29 '23 21:05 github-actions[bot]

Moved to #848.

Timmmm avatar Jun 15 '25 19:06 Timmmm