From 0aabb82afbea7c72fa6ab4dc538a50a0d6804049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20M=C3=BCllner?= Date: Mon, 22 May 2023 14:03:23 +0200 Subject: [PATCH] data/fd: fcvtmod: Restrict rounding mode to 'rtz' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The specification of fcvtmod requires a rounding mode of 'rtz'. Let's restrict the generated test cases accordingly. Signed-off-by: Christoph Müllner --- riscv_ctg/data/fd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv_ctg/data/fd.yaml b/riscv_ctg/data/fd.yaml index e1dc8219..5059c270 100644 --- a/riscv_ctg/data/fd.yaml +++ b/riscv_ctg/data/fd.yaml @@ -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'