Lines Matching refs:roundingMode
125 int8 roundingMode; in roundAndPackInt32() local
130 roundingMode = float_rounding_mode(); in roundAndPackInt32()
131 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
134 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
140 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
143 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
176 int8 roundingMode; in roundAndPackInt64() local
180 roundingMode = float_rounding_mode(); in roundAndPackInt64()
181 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
184 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
189 increment = ( roundingMode == float_round_down ) && absZ1; in roundAndPackInt64()
192 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackInt64()
230 int8 roundingMode; in roundAndPackInt64NoOverflow() local
234 roundingMode = float_rounding_mode(); in roundAndPackInt64NoOverflow()
235 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64NoOverflow()
238 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64NoOverflow()
243 increment = ( roundingMode == float_round_down ) && absZ1; in roundAndPackInt64NoOverflow()
246 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackInt64NoOverflow()
362 int8 roundingMode; in roundAndPackFloat32() local
367 roundingMode = float_rounding_mode(); in roundAndPackFloat32()
368 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
371 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
377 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
380 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
532 int8 roundingMode; in roundAndPackFloat64() local
537 roundingMode = float_rounding_mode(); in roundAndPackFloat64()
538 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
541 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
547 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat64()
550 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat64()
710 int8 roundingMode; in roundAndPackFloatx80() local
714 roundingMode = float_rounding_mode(); in roundAndPackFloatx80()
715 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloatx80()
730 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
736 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloatx80()
739 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloatx80()
786 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
791 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
794 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
808 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloatx80()
809 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80()
810 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80()
831 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
834 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
1042 int8 roundingMode; in roundAndPackFloat128() local
1045 roundingMode = float_rounding_mode(); in roundAndPackFloat128()
1046 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat128()
1049 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat128()
1054 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1057 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1074 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloat128()
1075 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloat128()
1076 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloat128()
1108 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1111 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1656 int8 roundingMode; in float32_round_to_int() local
1687 roundingMode = float_rounding_mode(); in float32_round_to_int()
1688 if ( roundingMode == float_round_nearest_even ) { in float32_round_to_int()
1692 else if ( roundingMode != float_round_to_zero ) { in float32_round_to_int()
1693 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float32_round_to_int()
2657 int8 roundingMode; in float64_round_to_int() local
2689 roundingMode = float_rounding_mode(); in float64_round_to_int()
2690 if ( roundingMode == float_round_nearest_even ) { in float64_round_to_int()
2694 else if ( roundingMode != float_round_to_zero ) { in float64_round_to_int()
2695 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float64_round_to_int()
3587 int8 roundingMode; in floatx80_round_to_int() local
3628 roundingMode = float_rounding_mode(); in floatx80_round_to_int()
3629 if ( roundingMode == float_round_nearest_even ) { in floatx80_round_to_int()
3633 else if ( roundingMode != float_round_to_zero ) { in floatx80_round_to_int()
3634 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { in floatx80_round_to_int()
4651 int8 roundingMode; in float128_round_to_int() local
4668 roundingMode = float_rounding_mode(); in float128_round_to_int()
4669 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4681 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4683 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()
4719 roundingMode = float_rounding_mode(); in float128_round_to_int()
4720 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4726 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4728 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()