Searched refs:roundingMode (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/arm/nwfpe/
H A Dsoftfloat.c72 int8 roundingMode; roundAndPackInt32() local
77 roundingMode = roundData->mode; roundAndPackInt32()
78 roundNearestEven = ( roundingMode == float_round_nearest_even ); roundAndPackInt32()
81 if ( roundingMode == float_round_to_zero ) { roundAndPackInt32()
87 if ( roundingMode == float_round_up ) roundIncrement = 0; roundAndPackInt32()
90 if ( roundingMode == float_round_down ) roundIncrement = 0; roundAndPackInt32()
219 int8 roundingMode; roundAndPackFloat32() local
224 roundingMode = roundData->mode; roundAndPackFloat32()
225 roundNearestEven = ( roundingMode == float_round_nearest_even ); roundAndPackFloat32()
228 if ( roundingMode == float_round_to_zero ) { roundAndPackFloat32()
234 if ( roundingMode == float_round_up ) roundIncrement = 0; roundAndPackFloat32()
237 if ( roundingMode == float_round_down ) roundIncrement = 0; roundAndPackFloat32()
390 int8 roundingMode; roundAndPackFloat64() local
395 roundingMode = roundData->mode; roundAndPackFloat64()
396 roundNearestEven = ( roundingMode == float_round_nearest_even ); roundAndPackFloat64()
399 if ( roundingMode == float_round_to_zero ) { roundAndPackFloat64()
405 if ( roundingMode == float_round_up ) roundIncrement = 0; roundAndPackFloat64()
408 if ( roundingMode == float_round_down ) roundIncrement = 0; roundAndPackFloat64()
569 int8 roundingMode, roundingPrecision; roundAndPackFloatx80() local
573 roundingMode = roundData->mode; roundAndPackFloatx80()
575 roundNearestEven = ( roundingMode == float_round_nearest_even ); roundAndPackFloatx80()
590 if ( roundingMode == float_round_to_zero ) { roundAndPackFloatx80()
596 if ( roundingMode == float_round_up ) roundIncrement = 0; roundAndPackFloatx80()
599 if ( roundingMode == float_round_down ) roundIncrement = 0; roundAndPackFloatx80()
646 if ( roundingMode == float_round_to_zero ) { roundAndPackFloatx80()
651 increment = ( roundingMode == float_round_down ) && zSig1; roundAndPackFloatx80()
654 increment = ( roundingMode == float_round_up ) && zSig1; roundAndPackFloatx80()
668 if ( ( roundingMode == float_round_to_zero ) roundAndPackFloatx80()
669 || ( zSign && ( roundingMode == float_round_up ) ) roundAndPackFloatx80()
670 || ( ! zSign && ( roundingMode == float_round_down ) ) roundAndPackFloatx80()
691 increment = ( roundingMode == float_round_down ) && zSig1; roundAndPackFloatx80()
694 increment = ( roundingMode == float_round_up ) && zSig1; roundAndPackFloatx80()
973 int8 roundingMode; float32_round_to_int() local
983 roundingMode = roundData->mode; float32_round_to_int()
988 switch ( roundingMode ) { float32_round_to_int()
1005 if ( roundingMode == float_round_nearest_even ) { float32_round_to_int()
1009 else if ( roundingMode != float_round_to_zero ) { float32_round_to_int()
1010 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { float32_round_to_int()
1868 int8 roundingMode; float64_round_to_int() local
1900 roundingMode = roundData->mode; float64_round_to_int()
1901 if ( roundingMode == float_round_nearest_even ) { float64_round_to_int()
1905 else if ( roundingMode != float_round_to_zero ) { float64_round_to_int()
1906 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { float64_round_to_int()
2675 int8 roundingMode; floatx80_round_to_int() local
2716 roundingMode = roundData->mode; floatx80_round_to_int()
2717 if ( roundingMode == float_round_nearest_even ) { floatx80_round_to_int()
2721 else if ( roundingMode != float_round_to_zero ) { floatx80_round_to_int()
2722 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { floatx80_round_to_int()
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
H A Dfpu.c401 int roundingMode = FPSCR_ROUNDING_MODE(tsk->thread.xstate->hardfpu.fpscr); float_rounding_mode() local
402 return roundingMode; float_rounding_mode()

Completed in 140 milliseconds