This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial covergroups for Zvk* instructions
This patch introduces initial versions of covergroups for the Zvk* instructions. The lack of vector support makes these pretty useless, but once this is available it should not be too hard to adjust these. Support for RV32 and RV64 is added, but both versions are identical. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
- Loading branch information
Showing
23 changed files
with
556 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaesdf.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesdf.vv: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 | ||
|
||
vaesdf.vs: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesdf.vs: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaesdm.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesdm.vv: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 | ||
|
||
vaesdm.vs: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesdm.vs: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaesef.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesef.vv: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 | ||
|
||
vaesef.vs: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesef.vs: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaesem.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesem.vv: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 | ||
|
||
vaesem.vs: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesem.vs: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaeskf1.vi: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaeskf1.vi: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaeskf2.vi: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaeskf2.vi: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vaesz.vs: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkned) | ||
mnemonics: | ||
vaesz.vs: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vandn.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vandn.vv: 0 | ||
rs1: | ||
<<: *all_vregs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb | ||
|
||
vandn.vx: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vandn.vx: 0 | ||
rs1: | ||
<<: *all_regs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vbrev8.v: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vbrev8.v: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vclmul.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vclmul.vv: 0 | ||
rs1: | ||
<<: *all_vregs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb | ||
|
||
vclmul.vx: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vclmul.vx: 0 | ||
rs1: | ||
<<: *all_regs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vclmulh.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vclmulh.vv: 0 | ||
rs1: | ||
<<: *all_vregs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb | ||
|
||
vclmulh.vx: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vclmulh.vx: 0 | ||
rs1: | ||
<<: *all_regs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vghsh.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkg) | ||
mnemonics: | ||
vghsh.vv: 0 | ||
rs1: | ||
<<: *all_vregs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vgmul.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkg) | ||
mnemonics: | ||
vgmul.vv: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vrev8.v: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vrev8.v: 0 | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
'rs2 == rd and rs2 != 0': 0 | ||
'rs2 != rd and rs2 != 0': 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
vrol.vv: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vrol.vv: 0 | ||
rs1: | ||
<<: *all_vregs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb | ||
|
||
vrol.vx: | ||
config: | ||
- check ISA:=(.*I.*V.*Zvkb) | ||
mnemonics: | ||
vrol.vx: 0 | ||
rs1: | ||
<<: *all_regs | ||
rs2: | ||
<<: *all_vregs | ||
rd: | ||
<<: *all_vregs | ||
op_comb: | ||
<<: *sfmt_op_comb |
Oops, something went wrong.