| /freebsd-13.1/contrib/gdtoa/ |
| H A D | gdtoa_fltrnds.h | 2 int Rounding; variable 4 Rounding = Flt_Rounds; 6 Rounding = 1; 8 case FE_TOWARDZERO: Rounding = 0; break; 9 case FE_UPWARD: Rounding = 2; break; 10 case FE_DOWNWARD: Rounding = 3; 14 if (Rounding != 1) { 17 fpi1.rounding = Rounding;
|
| H A D | dtoa.c | 134 int Rounding; local 136 Rounding = Flt_Rounds; 138 Rounding = 1; 191 if (Rounding >= 2) { 193 Rounding = Rounding == 2 ? 0 : 2; 195 if (Rounding != 2) 196 Rounding = 0; 540 && Rounding == 1 633 && Rounding >= 1 683 if (!Rounding) [all …]
|
| H A D | g_ddfmt.c | 48 int Rounding; local 50 Rounding = Flt_Rounds; 52 Rounding = 1; 54 case FE_TOWARDZERO: Rounding = 0; break; 55 case FE_UPWARD: Rounding = 2; break; 56 case FE_DOWNWARD: Rounding = 3; 60 #define Rounding FPI_Round_near macro 163 fpi.rounding = Rounding;
|
| H A D | strtod.c | 132 int Rounding; local 134 Rounding = Flt_Rounds; 136 Rounding = 1; 443 if (Rounding >= 2) { 445 Rounding = Rounding == 2 ? 0 : 2; 447 if (Rounding != 2) 448 Rounding = 0; 464 switch(Rounding) { 599 if (Rounding != 1) 674 if (Rounding) { [all …]
|
| H A D | printf.c0 | 519 #define RoundCheck if (Rounding == -1) Rounding = Flt_Rounds; if (Rounding != 1){\ 520 fpi1 = *fpb.fpi; fpi1.rounding = Rounding; fpb.fpi = &fpi1;} 522 #define RoundCheck if (Rounding == -1) { Rounding = 1; switch((fegetround()) {\ 523 case FE_TOWARDZERO: Rounding = 0; break;\ 524 case FE_UPWARD: Rounding = 2; break;\ 525 case FE_DOWNWARD: Rounding = 3; }}\ 526 if (Rounding != 1){\ 527 fpi1 = *fpb.fpi; fpi1.rounding = Rounding; fpb.fpi = &fpi1;} 697 int Rounding = -1;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 163 RoundingMode Rounding = RoundingMode::NearestTiesToEven); 170 RoundingMode Rounding = RoundingMode::NearestTiesToEven); 177 RoundingMode Rounding = RoundingMode::NearestTiesToEven); 186 RoundingMode Rounding = RoundingMode::NearestTiesToEven); 202 RoundingMode Rounding = RoundingMode::NearestTiesToEven); 215 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 4917 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in SimplifyFAddInst() 4971 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in SimplifyFSubInst() 5062 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in SimplifyFMulInst() 5075 Rounding); in SimplifyFAddInst() 5083 Rounding); in SimplifyFSubInst() 5091 Rounding); in SimplifyFMulInst() 5099 Rounding); in SimplifyFMAFMul() 5107 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in SimplifyFDivInst() 5154 Rounding); in SimplifyFDivInst() 5162 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in SimplifyFRemInst() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | IntrinsicInst.cpp | 220 Optional<RoundingMode> Rounding = getRoundingMode(); in isDefaultFPEnvironment() local 221 if (Rounding) { in isDefaultFPEnvironment() 222 if (Rounding.getValue() != RoundingMode::NearestTiesToEven) in isDefaultFPEnvironment()
|
| H A D | IRBuilder.cpp | 853 Optional<RoundingMode> Rounding, in CreateConstrainedFPBinOp() argument 855 Value *RoundingV = getConstrainedFPRounding(Rounding); in CreateConstrainedFPBinOp() 887 Optional<RoundingMode> Rounding, in CreateConstrainedFPCast() argument 907 Value *RoundingV = getConstrainedFPRounding(Rounding); in CreateConstrainedFPCast() 950 Optional<RoundingMode> Rounding, in CreateConstrainedFPCall() argument 966 UseArgs.push_back(getConstrainedFPRounding(Rounding)); in CreateConstrainedFPCall()
|
| H A D | ConstantRange.cpp | 197 APInt::Rounding::UP), in makeExactMulNUWRegion() 199 APInt::Rounding::DOWN) + 1); in makeExactMulNUWRegion() 218 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion() 219 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion() 221 Lower = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion() 222 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
|
| /freebsd-13.1/lib/libc/softfloat/ |
| H A D | softfloat.txt | 50 Rounding Modes 51 Extended Double-Precision Rounding Precision 134 Rounding Modes 145 Extended Double-Precision Rounding Precision 258 Rounding of the extended double-precision (`floatx80') functions is affected
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAArch64.td | 233 // Vector Rounding Halving Add 248 // Vector Rounding Add High-Half 256 // Vector Saturating Rounding Doubling Multiply High 297 // Vector Rounding Subtract High-Half 374 // Vector Rounding Shift Left 378 // Vector Saturating Rounding Shift Left 388 // Vector Signed->Unsigned Rounding Narrowing Saturating Shift Right by Const 395 // Vector Rounding Narrowing Shift Right by Constant 398 // Vector Rounding Narrowing Saturating Shift Right by Constant 471 // v8.5-A Vector FP Rounding
|
| H A D | IRBuilder.h | 1169 Value *getConstrainedFPRounding(Optional<RoundingMode> Rounding) { in getConstrainedFPRounding() argument 1172 if (Rounding.hasValue()) in getConstrainedFPRounding() 1173 UseRounding = Rounding.getValue(); in getConstrainedFPRounding() 1573 Optional<RoundingMode> Rounding = None, 2215 Optional<RoundingMode> Rounding = None, 2428 Optional<RoundingMode> Rounding = None,
|
| H A D | IntrinsicsARM.td | 523 // Vector Rounding Shift. 536 // Vector Saturating Rounding Shift. 605 // Vector and Scalar Rounding.
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 2813 APInt::Rounding RM) { in RoundingUDiv() 2816 case APInt::Rounding::DOWN: in RoundingUDiv() 2817 case APInt::Rounding::TOWARD_ZERO: in RoundingUDiv() 2819 case APInt::Rounding::UP: { in RoundingUDiv() 2831 APInt::Rounding RM) { in RoundingSDiv() 2833 case APInt::Rounding::DOWN: in RoundingSDiv() 2834 case APInt::Rounding::UP: { in RoundingSDiv() 2844 if (RM == APInt::Rounding::DOWN) { in RoundingSDiv() 2854 case APInt::Rounding::TOWARD_ZERO: in RoundingSDiv()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 82 enum class Rounding { enum 2234 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM); 2237 APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | arm_fp16.td | 36 // Rounding
|
| H A D | arm_neon.td | 1317 // Scalar Saturating Rounding Shift Left 1319 // Scalar Shift Rounding Left 1327 // Signed/Unsigned Rounding Shift Right (Immediate) 1332 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate) 1397 // Scalar Integer Saturating Rounding Doubling Multiply Half High 1402 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half 1406 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half 1625 // Scalar Integer Saturating Rounding Doubling Multiply Half High 1632 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half 1638 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
|
| H A D | LangOptions.def | 297 BENIGN_ENUM_LANGOPT(FPRoundingMode, RoundingMode, 3, RoundingMode::NearestTiesToEven, "FP Rounding …
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVScheduleV.td | 139 // 12.3. Vector Single-Width Fractional Multiply with Rounding and Saturation 354 // 12.3. Vector Single-Width Fractional Multiply with Rounding and Saturation
|
| /freebsd-13.1/contrib/bc/manuals/ |
| H A D | algorithms.md | 196 ### Rounding (`bc` Math Library 2 Only)
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 367 enum Rounding { enum
|
| H A D | ARMInstrNEON.td | 4270 // VRHADD : Vector Rounding Halving Add 4514 // v8.1a Neon Rounding Double Multiply-Op vector operations, 4515 // VQRDMLAH : Vector Saturating Rounding Doubling Multiply Accumulate Long 4585 // VQRDMLSH : Vector Saturating Rounding Doubling Multiply Subtract Long 6056 // VRSHL : Vector Rounding Shift 6063 // VRSHR : Vector Rounding Shift Right 6069 // VRSHRN : Vector Rounding Shift Right and Narrow 6097 // VQRSHL : Vector Saturating Rounding Shift 6105 // VQRSHRN : Vector Saturating Rounding Shift Right and Narrow 6118 // VRSRA : Vector Rounding Shift Right and Accumulate [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrVector.td | 1100 // Rounding mode should agree with SystemZInstrFP.td. 1109 // Rounding mode should agree with SystemZInstrFP.td. 1119 // Rounding mode should agree with SystemZInstrFP.td. 1128 // Rounding mode should agree with SystemZInstrFP.td.
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 469 enum Rounding { enum
|