Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
data/fd: fcvtmod: Restrict rounding mode to 'rtz'
Browse files Browse the repository at this point in the history
The specification of fcvtmod requires a rounding mode of 'rtz'.
Let's restrict the generated test cases accordingly.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
  • Loading branch information
cmuellner committed May 23, 2023
1 parent 3b2f654 commit 0aabb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv_ctg/data/fd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ fcvtmod.w.d:
isa:
- IFD_Zicsr_Zfa
flen: [64]
rm_val_data: '[7,0,1,2,3,4]'
rm_val_data: '[1]'
fcsr_data: '[x<<5|y for x,y in itertools.product([0,1,2,3,4],range(0,2**5))]'
std_op:
formattype: 'fsrformat'
Expand Down

0 comments on commit 0aabb82

Please sign in to comment.