diff --git a/proposals/relaxed-simd/Overview.md b/proposals/relaxed-simd/Overview.md index 1c627e7b..8fe79bfe 100644 --- a/proposals/relaxed-simd/Overview.md +++ b/proposals/relaxed-simd/Overview.md @@ -115,6 +115,7 @@ def relaxed_i32x4_trunc_f32x4_s(a : f32x4) -> i32x4: for i in range(4): if isnan(a[i]): result[i] = IMPLEMENTATION_DEFINED_ONE_OF(0, INT32_MIN) + continue r = truncate(a[i]) if r < INT32_MIN: result[i] = INT32_MIN @@ -128,6 +129,7 @@ def relaxed_i32x4_trunc_f32x4_u(a : f32x4) -> i32x4: for i in range(4): if isnan(a[i]): result[i] = IMPLEMENTATION_DEFINED_ONE_OF(0, UINT32_MAX) + continue r = truncate(a[i]) if r < UINT32_MIN: result[i] = IMPLEMENTATION_DEFINED_ONE_OF(UINT32_MIN, UINT32_MAX) @@ -141,6 +143,7 @@ def relaxed_i32x4_trunc_f64x2_zero_s(a : f64x2) -> i32x4: for i in range(2): if isnan(a[i]): result[i] = IMPLEMENTATION_DEFINED_ONE_OF(0, INT32_MIN) + continue r = truncate(a[i]) if r < INT32_MIN: result[i] = INT32_MIN @@ -154,6 +157,7 @@ def relaxed_i32x4_trunc_f64x2_zero_u(a : f64x2) -> i32x4: for i in range(2): if isnan(a[i]): result[i] = IMPLEMENTATION_DEFINED_ONE_OF(0, UINT32_MAX) + continue r = truncate(a[i]) if r < UINT32_MIN: result[i] = IMPLEMENTATION_DEFINED_ONE_OF(UINT32_MIN, UINT32_MAX)