duplicate overflow comment as requested by luke
[libreriscv.git] / openpower / sv / int_fp_mv / moves_and_conversions.mdwn
index 8afc3c65ae10cd51cd47acca8f6ea84585616467..a97c70a07600f753dd84d9113e80d3025084f4af 100644 (file)
@@ -553,7 +553,7 @@ Section 7.1 of the ECMAScript / JavaScript
         default:  # Unsigned 64-bit
             result_bfp <- bfp_CONVERT_FROM_UI64(result)
 
-    overflow <- 0
+    overflow <- 0  # signals SO only when OE = 1
     if IsNaN(src) | ¬bfp_COMPARE_EQ(rnd, result_bfp) then
         overflow <- 1  # signals SO only when OE = 1
         vxcvi_flag <- 1
@@ -717,7 +717,7 @@ Special Registers altered:
         default:  # Unsigned 64-bit
             result_bfp <- bfp_CONVERT_FROM_UI64(result)
 
-    overflow <- 0
+    overflow <- 0  # signals SO only when OE = 1
     if IsNaN(src) | ¬bfp_COMPARE_EQ(rnd, result_bfp) then
         overflow <- 1  # signals SO only when OE = 1
         vxcvi_flag <- 1