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

/freebsd-11-stable/tools/test/testfloat/sparc64/
H A Dsystmodes.c38 void syst_float_set_rounding_mode( int8 roundingMode )
41 (void) fpsetround( roundingMode );
H A Dfpu_util.c691 void syst_float_set_rounding_mode(int8 roundingMode) argument
695 utf.uf_fsr |= FSR_RD((unsigned int)roundingMode & 0x03);
/freebsd-11-stable/tools/test/testfloat/
H A Dtestfloat.c54 int8 operands, roundingPrecision, roundingMode; local
71 roundingMode = 0;
190 roundingMode = ROUND_NEAREST_EVEN;
194 roundingMode = ROUND_TO_ZERO;
197 roundingMode = ROUND_DOWN;
200 roundingMode = ROUND_UP;
252 if ( ! roundingMode ) roundingMode = ROUND_NEAREST_EVEN;
254 testFunction( functionCode, roundingPrecision, roundingMode );
268 functionCode, roundingPrecision, roundingMode );
[all...]
H A Dtestsoftfloat.c185 flag roundingPrecision, roundingMode; member in struct:__anon13674
330 int8 roundingMode,
354 switch ( roundingMode ) {
749 int8 roundingPrecision, roundingMode, tininessMode; local
759 for ( roundingMode = 1;
760 roundingMode < NUM_ROUNDINGMODES;
761 ++roundingMode
763 if ( ! functions[ functionCode ].roundingMode ) {
764 roundingMode = 0;
767 roundingMode
327 testFunctionVariety( uint8 functionCode, int8 roundingPrecision, int8 roundingMode, int8 tininessMode ) argument
819 int8 operands, roundingPrecision, roundingMode, tininessMode; local
[all...]
H A DtestFunction.c573 uint8 functionCode, int8 roundingPrecision, int8 roundingMode )
595 switch ( roundingMode ) {
1112 int8 roundingPrecision, roundingMode; local
1122 for ( roundingMode = 1;
1123 roundingMode < NUM_ROUNDINGMODES;
1124 ++roundingMode
1126 if ( ! functions[ functionCode ].roundingMode ) {
1127 roundingMode = 0;
1130 roundingMode = roundingModeIn;
1133 functionCode, roundingPrecision, roundingMode );
[all...]
H A DtestFunction.h121 flag roundingPrecision, roundingMode; member in struct:__anon13671
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h185 enum roundingMode { enum in struct:llvm::APFloatBase
270 opStatus add(const IEEEFloat &, roundingMode);
271 opStatus subtract(const IEEEFloat &, roundingMode);
272 opStatus multiply(const IEEEFloat &, roundingMode);
273 opStatus divide(const IEEEFloat &, roundingMode);
278 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode);
279 opStatus roundToIntegral(roundingMode);
295 opStatus convert(const fltSemantics &, roundingMode, bool *);
297 roundingMode, bool *) const;
298 opStatus convertFromAPInt(const APInt &, bool, roundingMode);
[all...]
/freebsd-11-stable/lib/libc/softfloat/bits32/
H A Dsoftfloat.c203 int8 roundingMode; local
208 roundingMode = float_rounding_mode;
209 roundNearestEven = roundingMode == float_round_nearest_even;
212 if ( roundingMode == float_round_to_zero ) {
218 if ( roundingMode == float_round_up ) roundIncrement = 0;
221 if ( roundingMode == float_round_down ) roundIncrement = 0;
415 int8 roundingMode; local
418 roundingMode = float_rounding_mode;
419 roundNearestEven = ( roundingMode == float_round_nearest_even );
422 if ( roundingMode
587 int8 roundingMode; local
729 int8 roundingMode; local
1413 int8 roundingMode; local
1568 int8 roundingMode; local
[all...]
/freebsd-11-stable/lib/libc/softfloat/bits64/
H A Dsoftfloat.c116 int8 roundingMode; local
121 roundingMode = float_rounding_mode;
122 roundNearestEven = ( roundingMode == float_round_nearest_even );
125 if ( roundingMode == float_round_to_zero ) {
131 if ( roundingMode == float_round_up ) roundIncrement = 0;
134 if ( roundingMode == float_round_down ) roundIncrement = 0;
167 int8 roundingMode; local
171 roundingMode = float_rounding_mode;
172 roundNearestEven = ( roundingMode == float_round_nearest_even );
175 if ( roundingMode
306 int8 roundingMode; local
476 int8 roundingMode; local
654 int8 roundingMode; local
986 int8 roundingMode; local
1647 int8 roundingMode; local
2612 int8 roundingMode; local
3544 int8 roundingMode; local
4663 int8 roundingMode; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1271 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) {
1295 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode,
1330 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode,
1686 roundingMode rounding_mode,
1716 roundingMode rounding_mode) {
1722 roundingMode rounding_mode) {
1728 roundingMode rounding_mode) {
1746 roundingMode rounding_mode) {
1823 roundingMode rounding_mode) {
1864 IEEEFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mod
[all...]
/freebsd-11-stable/lib/libc/softfloat/
H A Dtimesoftfloat.c1918 flag roundingPrecision, roundingMode; member in struct:__anon6737
2053 int8 roundingMode,
2076 switch ( roundingMode ) {
2415 int8 roundingPrecision, roundingMode, tininessMode; local
2425 for ( roundingMode = 1;
2426 roundingMode < NUM_ROUNDINGMODES;
2427 ++roundingMode
2429 if ( ! functions[ functionCode ].roundingMode ) {
2430 roundingMode = 0;
2433 roundingMode
2050 timeFunctionVariety( uint8 functionCode, int8 roundingPrecision, int8 roundingMode, int8 tininessMode ) argument
2484 int8 operands, roundingPrecision, roundingMode, tininessMode; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1635 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp273 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;

Completed in 141 milliseconds