From: Jacob Lifshay Date: Sat, 20 May 2023 02:53:36 +0000 (-0700) Subject: must test fcvtfgs not fcvtfg for f32 test case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=371d91b299c0e4bd7b23e660b9936ed40debb824;p=openpower-isa.git must test fcvtfgs not fcvtfg for f32 test case --- 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