undefined is a function that needs to be called
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 12 May 2023 06:30:12 +0000 (23:30 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:18 +0000 (19:51 +0100)
openpower/isa/fpcvt.mdwn

index 041ecf3ef6c9739af38dbeb4dbe369e5617ef9a3..0ce5e0a69f105b124db3bb1bd49b488c8ea407dc 100644 (file)
@@ -193,7 +193,7 @@ Pseudo-code:
     vex_flag <- FPSCR.VE & vx_flag
     if vex_flag = 0 then
         RT <- result
-        FPSCR.FPRF <- undefined
+        FPSCR.FPRF <- undefined(0b00000)
         FPSCR.FR <- inc_flag
         FPSCR.FI <- xx_flag
         if IsNaN(src) | ¬bfp_COMPARE_EQ(src, result_bfp) then
@@ -302,7 +302,7 @@ Pseudo-code:
     vex_flag <- FPSCR.VE & vx_flag
     if vex_flag = 0 then
         RT <- result
-        FPSCR.FPRF <- undefined
+        FPSCR.FPRF <- undefined(0b00000)
         FPSCR.FR <- inc_flag
         FPSCR.FI <- xx_flag
         if IsNaN(src) | ¬bfp_COMPARE_EQ(src, result_bfp) then