Lines Matching refs:roundingMode

107     int8 roundingMode;  in roundAndPackInt32()  local
112 roundingMode = float_rounding_mode(); in roundAndPackInt32()
113 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
116 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
122 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
125 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
157 int8 roundingMode; in roundAndPackInt64() local
161 roundingMode = float_rounding_mode(); in roundAndPackInt64()
162 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
165 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
170 increment = ( roundingMode == float_round_down ) && absZ1; in roundAndPackInt64()
173 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackInt64()
199 int8 roundingMode; in roundAndPackUInt64() local
203 roundingMode = float_rounding_mode(); in roundAndPackUInt64()
204 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackUInt64()
207 if ( roundingMode == float_round_to_zero ) { in roundAndPackUInt64()
211 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackUInt64()
322 int8 roundingMode; in roundAndPackFloat32() local
327 roundingMode = float_rounding_mode(); in roundAndPackFloat32()
328 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
331 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
337 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
340 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
483 int8 roundingMode; in roundAndPackFloat64() local
488 roundingMode = float_rounding_mode(); in roundAndPackFloat64()
489 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
492 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
498 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat64()
501 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat64()
652 int8 roundingMode; in roundAndPackFloatx80() local
656 roundingMode = float_rounding_mode(); in roundAndPackFloatx80()
657 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloatx80()
672 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
678 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloatx80()
681 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloatx80()
728 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
733 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
736 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
750 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloatx80()
751 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80()
752 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80()
773 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
776 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
976 int8 roundingMode; in roundAndPackFloat128() local
979 roundingMode = float_rounding_mode(); in roundAndPackFloat128()
980 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat128()
983 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat128()
988 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
991 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1008 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloat128()
1009 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloat128()
1010 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloat128()
1042 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1045 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1573 int8 roundingMode; in float32_round_to_int() local
1604 roundingMode = float_rounding_mode(); in float32_round_to_int()
1605 if ( roundingMode == float_round_nearest_even ) { in float32_round_to_int()
1609 else if ( roundingMode != float_round_to_zero ) { in float32_round_to_int()
1610 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float32_round_to_int()
2553 int8 roundingMode; in float64_round_to_int() local
2585 roundingMode = float_rounding_mode(); in float64_round_to_int()
2586 if ( roundingMode == float_round_nearest_even ) { in float64_round_to_int()
2590 else if ( roundingMode != float_round_to_zero ) { in float64_round_to_int()
2591 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float64_round_to_int()
3452 int8 roundingMode; in floatx80_round_to_int() local
3493 roundingMode = float_rounding_mode(); in floatx80_round_to_int()
3494 if ( roundingMode == float_round_nearest_even ) { in floatx80_round_to_int()
3498 else if ( roundingMode != float_round_to_zero ) { in floatx80_round_to_int()
3499 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { in floatx80_round_to_int()
4494 int8 roundingMode; in float128_round_to_int() local
4511 roundingMode = float_rounding_mode(); in float128_round_to_int()
4512 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4524 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4526 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()
4562 roundingMode = float_rounding_mode(); in float128_round_to_int()
4563 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4569 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4571 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()