| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 188 using roundingMode = llvm::RoundingMode; member 275 opStatus add(const IEEEFloat &, roundingMode); 278 opStatus divide(const IEEEFloat &, roundingMode); 284 opStatus roundToIntegral(roundingMode); 527 opStatus normalize(roundingMode, lostFraction); 529 opStatus handleOverflow(roundingMode); 535 roundingMode); 647 opStatus roundToIntegral(roundingMode RM); 1027 roundingMode RM) { in fusedMultiplyAdd() 1039 opStatus roundToIntegral(roundingMode RM) { in roundToIntegral() [all …]
|
| /freebsd-13.1/tools/test/testfloat/ |
| H A D | testfloat.c | 54 int8 operands, roundingPrecision, roundingMode; in main() local 71 roundingMode = 0; in main() 190 roundingMode = ROUND_NEAREST_EVEN; in main() 194 roundingMode = ROUND_TO_ZERO; in main() 197 roundingMode = ROUND_DOWN; in main() 200 roundingMode = ROUND_UP; in main() 252 if ( ! roundingMode ) roundingMode = ROUND_NEAREST_EVEN; in main() 254 testFunction( functionCode, roundingPrecision, roundingMode ); in main() 268 functionCode, roundingPrecision, roundingMode ); in main() 280 functionCode, roundingPrecision, roundingMode ); in main() [all …]
|
| H A D | testsoftfloat.c | 185 flag roundingPrecision, roundingMode; member 330 int8 roundingMode, in testFunctionVariety() argument 354 switch ( roundingMode ) { in testFunctionVariety() 759 for ( roundingMode = 1; in testFunction() 761 ++roundingMode in testFunction() 764 roundingMode = 0; in testFunction() 835 roundingMode = 0; in main() 948 roundingMode = ROUND_UP; in main() 994 if ( ! roundingMode ) roundingMode = ROUND_NEAREST_EVEN; in main() 1009 roundingMode, in main() [all …]
|
| H A D | testFunction.c | 573 uint8 functionCode, int8 roundingPrecision, int8 roundingMode ) in testFunctionVariety() argument 595 switch ( roundingMode ) { in testFunctionVariety() 1112 int8 roundingPrecision, roundingMode; in testFunction() local 1122 for ( roundingMode = 1; in testFunction() 1123 roundingMode < NUM_ROUNDINGMODES; in testFunction() 1124 ++roundingMode in testFunction() 1126 if ( ! functions[ functionCode ].roundingMode ) { in testFunction() 1127 roundingMode = 0; in testFunction() 1130 roundingMode = roundingModeIn; in testFunction() 1133 functionCode, roundingPrecision, roundingMode ); in testFunction() [all …]
|
| H A D | testFunction.h | 121 flag roundingPrecision, roundingMode; member
|
| /freebsd-13.1/lib/libc/softfloat/bits32/ |
| H A D | softfloat.c | 203 int8 roundingMode; in roundAndPackFloat32() local 208 roundingMode = float_rounding_mode; in roundAndPackFloat32() 415 int8 roundingMode; in roundAndPackFloat64() local 418 roundingMode = float_rounding_mode; in roundAndPackFloat64() 587 int8 roundingMode; in float32_to_int32() local 617 roundingMode = float_rounding_mode; in float32_to_int32() 729 int8 roundingMode; in float32_round_to_int() local 762 roundingMode = float_rounding_mode; in float32_round_to_int() 1413 int8 roundingMode; in float64_to_int32() local 1441 roundingMode = float_rounding_mode; in float64_to_int32() [all …]
|
| /freebsd-13.1/lib/libc/softfloat/bits64/ |
| H A D | softfloat.c | 116 int8 roundingMode; in roundAndPackInt32() local 121 roundingMode = float_rounding_mode; in roundAndPackInt32() 167 int8 roundingMode; in roundAndPackInt64() local 306 int8 roundingMode; in roundAndPackFloat32() local 476 int8 roundingMode; in roundAndPackFloat64() local 654 int8 roundingMode; in roundAndPackFloatx80() local 986 int8 roundingMode; in roundAndPackFloat128() local 1647 int8 roundingMode; in float32_round_to_int() local 2612 int8 roundingMode; in float64_round_to_int() local 3544 int8 roundingMode; in floatx80_round_to_int() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 1317 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() 1790 roundingMode rounding_mode) { in add() 1820 roundingMode rounding_mode) { in divide() 2171 roundingMode rounding_mode, in convert() 2282 roundingMode rounding_mode, bool *isExact) const { in convertToSignExtendedInteger() 4289 roundingMode RM) { in addImpl() 4413 roundingMode RM) { in add() 4418 roundingMode RM) { in subtract() 4541 APFloat::roundingMode RM) { in fusedMultiplyAdd() 4772 APFloat::roundingMode RM) { in scalbn() [all …]
|
| H A D | APFixedPoint.cpp | 460 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat() 461 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in convertToFloat() 508 APFloat::roundingMode RM = APFloat::rmTowardZero; in getFromFloatValue() 509 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in getFromFloatValue()
|
| /freebsd-13.1/lib/libc/softfloat/ |
| H A D | timesoftfloat.c | 1918 flag roundingPrecision, roundingMode; member 2053 int8 roundingMode, in timeFunctionVariety() argument 2076 switch ( roundingMode ) { in timeFunctionVariety() 2425 for ( roundingMode = 1; in timeFunction() 2427 ++roundingMode in timeFunction() 2430 roundingMode = 0; in timeFunction() 2433 roundingMode = roundingModeIn; in timeFunction() 2491 roundingMode = 0; in main() 2558 roundingMode = ROUND_TO_ZERO; in main() 2561 roundingMode = ROUND_DOWN; in main() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1829 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldSSEConvertToInt() 2061 Optional<APFloat::roundingMode> RM; in ConstantFoldScalarCall1()
|