remove section of pseudocode that does nothing
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 21 Mar 2023 03:32:14 +0000 (20:32 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 21 Mar 2023 03:32:14 +0000 (20:32 -0700)
si64_CONVERT_FROM_BFP and friends don't actually set any flags

openpower/sv/int_fp_mv.mdwn
openpower/sv/rfc/ls006.mdwn

index 8b21bac42f9be519b6f7432d28b2c32240cce35f..75cce6f7e0328443278522083e5f1d6ee9733f5a 100644 (file)
@@ -596,17 +596,6 @@ else if FPSCR.RN = 0b10 then
 else if FPSCR.RN = 0b11 then
     rnd <- bfp_ROUND_TO_INTEGER_FLOOR(src)
 
-# set conversion flags
-switch(IT)
-    case(0):  # Signed 32-bit
-        si32_CONVERT_FROM_BFP(rnd)
-    case(1):  # Unsigned 32-bit
-        ui32_CONVERT_FROM_BFP(rnd)
-    case(2):  # Signed 64-bit
-        si64_CONVERT_FROM_BFP(rnd)
-    default:  # Unsigned 64-bit
-        ui64_CONVERT_FROM_BFP(rnd)
-
 switch(CVM)
     case(0, 1):  # OpenPower semantics
         if IsNaN(rnd) then
index b1203ec9da28fadb570195b63f0daa57830d03ac..a25d148432cdd4591697f2858ee34c7fdfb6a8e9 100644 (file)
@@ -482,17 +482,6 @@ else if FPSCR.RN = 0b10 then
 else if FPSCR.RN = 0b11 then
     rnd <- bfp_ROUND_TO_INTEGER_FLOOR(src)
 
-# set conversion flags
-switch(IT)
-    case(0):  # Signed 32-bit
-        si32_CONVERT_FROM_BFP(rnd)
-    case(1):  # Unsigned 32-bit
-        ui32_CONVERT_FROM_BFP(rnd)
-    case(2):  # Signed 64-bit
-        si64_CONVERT_FROM_BFP(rnd)
-    default:  # Unsigned 64-bit
-        ui64_CONVERT_FROM_BFP(rnd)
-
 switch(CVM)
     case(0, 1):  # OpenPower semantics
         if IsNaN(rnd) then