Repository navigation
Add ACT tests for Zvabd extension (unratified) - #3009
James Shi (jamesbeyond) wants to merge 3 commits into
Conversation
bcc8f4e to
7d7492f
Compare
7d7492f to
713d310
Compare
|
Hi Jordan Carlin (@jordancarlin) , I recall there is process for unratified extension tests, could you guide me to find it? |
|
Please take a look at the Zibi tests for an example of what is needed for unratified extensions. They use macros to bypass the toolchain support issue. |
c24366b to
e2e18aa
Compare
|
Hi Jordan Carlin (@jordancarlin), could you review this change again, the |
Jordan Carlin (jordancarlin)
left a comment
There was a problem hiding this comment.
I left a few infrastructure-related comments below. Zvabd also still needs to be added to the list of EXPERIMENTAL_EXTENSIONS in framework/src/act/toolchain.py and generators/testgen/src/testgen/constants.py.
Once those are resolved, I will review the actual tests/coverpoints.
There was a problem hiding this comment.
Revert changes to all these config files. Only add Zvabd to the spike-rv64-experimental configuration.
| # This instruction computes the absolute difference between the unsigned integer SEW-bit | ||
| # `Op1` and `Op2` elements, writing the result into the SEW-bit elements in vd. | ||
| - name: vabdu_op | ||
| coverpoint: [""] |
There was a problem hiding this comment.
Update this file to list the coverpoints that cover each normative rule. See the other files in this directory for examples.
Signed-off-by: Qinghao.shi <qighao.shi@alibaba-inc.com>
Signed-off-by: Qinghao.shi <qighao.shi@alibaba-inc.com>
Add Zvabd to EXPERIMENTAL_EXTENSIONS in act and testgen so its tests are only built with --enable-experimental-extensions, revert the Zvabd declarations from the sail configs along with the sail CI exclusion they made necessary, and map each Zvabd normative rule to the coverpoints that exercise it. Signed-off-by: Qinghao.shi <qighao.shi@alibaba-inc.com>
9d87a63 to
b1a5ff0
Compare
This PR is adding tests for the Zvabd (Integer Vector Absolute Difference ) extension
Zvabd extension is in freeze Stage:
Zvabd extension Jira page:
https://riscv.atlassian.net/browse/RVS-3896
Zvabd extension PDF specs :
https://github.com/riscv/integer-vector-absolute-difference/releases/tag/v0.9
Zvabd Sail PR Merged:
riscv/sail-riscv#1886
riscv/sail-riscv#1478
Zvabd UDB PR Merged:
riscv/riscv-unified-db#2732
riscv/riscv-unified-db#1882