From 371d91b299c0e4bd7b23e660b9936ed40debb824 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Fri, 19 May 2023 19:53:36 -0700 Subject: [PATCH] must test fcvtfgs not fcvtfg for f32 test case --- src/openpower/test/fmv_fcvt/fmv_fcvt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openpower/test/fmv_fcvt/fmv_fcvt.py b/src/openpower/test/fmv_fcvt/fmv_fcvt.py index 5fb6f69d..9e8914cc 100644 --- a/src/openpower/test/fmv_fcvt/fmv_fcvt.py +++ b/src/openpower/test/fmv_fcvt/fmv_fcvt.py @@ -519,8 +519,9 @@ class FMvFCvtCases(TestAccumulatorBase): expected_fp=expected_fp.hex(), expected_bits=hex(expected_bits), XX=fpscr.XX, FR=fpscr.FR, FPRF=bin(int(fpscr.FPRF)), CR1=bin(cr1), ): + s = "s" if bfp32 else "" rc_str = "." if Rc else "" - lst = [f"fcvtfg{rc_str} 0,3,{IT}"] + lst = [f"fcvtfg{s}{rc_str} 0,3,{IT}"] gprs = [0] * 32 fprs = [0] * 32 gprs[3] = inp -- 2.30.2