Skip to content

Commit

Permalink
zfa: Add cgf for fli* instructions
Browse files Browse the repository at this point in the history
There is not much infrastucture support for the fli* instructions.
Let's add a cgf that defines the instruction's covergroup with the
existing infrastructure support.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
  • Loading branch information
cmuellner committed May 23, 2023
1 parent 64b3335 commit 3b2f654
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sample_cgfs/zfa/fli.d.cgf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause

fli.d_b1:
config:
- check ISA:=regex(.*I.*D.*Zfa.*)
mnemonics:
fli.d: 0
rd:
<<: *all_fregs
9 changes: 9 additions & 0 deletions sample_cgfs/zfa/fli.s.cgf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause

fli_b1:
config:
- check ISA:=regex(.*I.*F.*Zfa.*)
mnemonics:
fli.s: 0
rd:
<<: *all_fregs

0 comments on commit 3b2f654

Please sign in to comment.