Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm/nwfpe/
Dsoftfloat.c72 int8 roundingMode; in roundAndPackInt32() local
77 roundingMode = roundData->mode; in roundAndPackInt32()
78 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
81 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
87 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
90 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
219 int8 roundingMode; in roundAndPackFloat32() local
224 roundingMode = roundData->mode; in roundAndPackFloat32()
225 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
228 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
[all …]
/Linux-v6.6/arch/sh/kernel/cpu/sh4/
Dfpu.c397 int roundingMode = FPSCR_ROUNDING_MODE(tsk->thread.xstate->hardfpu.fpscr); in float_rounding_mode() local
398 return roundingMode; in float_rounding_mode()