Home
last modified time | relevance | path

Searched refs:Rounding (Results 1 – 23 of 23) sorted by relevance

/freebsd-12.1/contrib/gdtoa/
H A Dgdtoa_fltrnds.h2 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 Ddtoa.c134 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 Dg_ddfmt.c48 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 Dstrtod.c132 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 Dprintf.c0519 #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-12.1/contrib/llvm/include/llvm/IR/
H A DIntrinsicsAArch64.td186 // Vector Rounding Halving Add
201 // Vector Rounding Add High-Half
207 // Vector Saturating Rounding Doubling Multiply High
246 // Vector Rounding Subtract High-Half
322 // Vector Rounding Shift Left
326 // Vector Saturating Rounding Shift Left
336 // Vector Signed->Unsigned Rounding Narrowing Saturating Shift Right by Const
343 // Vector Rounding Narrowing Shift Right by Constant
346 // Vector Rounding Narrowing Saturating Shift Right by Constant
422 // Vector FP Rounding: only ties to even is unrepresented by a normal
H A DIntrinsicsARM.td516 // Vector Rounding Shift.
529 // Vector Saturating Rounding Shift.
598 // Vector and Scalar Rounding.
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantRange.cpp288 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeGuaranteedNoWrapRegion()
289 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeGuaranteedNoWrapRegion()
291 Lower = APIntOps::RoundingUDiv(MinValue, V, APInt::Rounding::UP); in makeGuaranteedNoWrapRegion()
292 Upper = APIntOps::RoundingUDiv(MaxValue, V, APInt::Rounding::DOWN); in makeGuaranteedNoWrapRegion()
294 Lower = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::UP); in makeGuaranteedNoWrapRegion()
295 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeGuaranteedNoWrapRegion()
/freebsd-12.1/lib/libc/softfloat/
H A Dsoftfloat.txt50 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-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp2690 APInt::Rounding RM) { in RoundingUDiv()
2693 case APInt::Rounding::DOWN: in RoundingUDiv()
2694 case APInt::Rounding::TOWARD_ZERO: in RoundingUDiv()
2696 case APInt::Rounding::UP: { in RoundingUDiv()
2708 APInt::Rounding RM) { in RoundingSDiv()
2710 case APInt::Rounding::DOWN: in RoundingSDiv()
2711 case APInt::Rounding::UP: { in RoundingSDiv()
2721 if (RM == APInt::Rounding::DOWN) { in RoundingSDiv()
2731 case APInt::Rounding::TOWARD_ZERO: in RoundingSDiv()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A Darm_neon.td1125 // Scalar Saturating Rounding Shift Left
1127 // Scalar Shift Rounding Left
1135 // Signed/Unsigned Rounding Shift Right (Immediate)
1140 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1205 // Scalar Integer Saturating Rounding Doubling Multiply Half High
1210 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half
1214 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
1415 // Scalar Integer Saturating Rounding Doubling Multiply Half High
1420 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half
1424 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
H A Darm_fp16.td37 // Rounding
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPInt.h82 enum class Rounding { enum
2171 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
2174 APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64.td66 "Enable ARMv8.1 Rounding Double Multiply Add/Subtract instructions">;
H A DAArch64InstrFormats.td9779 // AdvSIMD v8.1 Rounding Double Multiply Add/Subtract
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMInstrNEON.td4234 // VRHADD : Vector Rounding Halving Add
4466 // v8.1a Neon Rounding Double Multiply-Op vector operations,
4467 // VQRDMLAH : Vector Saturating Rounding Doubling Multiply Accumulate Long
4537 // VQRDMLSH : Vector Saturating Rounding Doubling Multiply Subtract Long
5819 // VRSHL : Vector Rounding Shift
5826 // VRSHR : Vector Rounding Shift Right
5832 // VRSHRN : Vector Rounding Shift Right and Narrow
5860 // VQRSHL : Vector Saturating Rounding Shift
5868 // VQRSHRN : Vector Saturating Rounding Shift Right and Narrow
5881 // VRSRA : Vector Rounding Shift Right and Accumulate
[all …]
H A DARMScheduleA57.td1089 // Vector Saturating Rounding Doubling Multiply Accumulate/Subtract Long
H A DARMInstrThumb2.td2679 // Rounding variants of the below included for disassembly only
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZInstrVector.td963 // Rounding mode should agree with SystemZInstrFP.td.
970 // Rounding mode should agree with SystemZInstrFP.td.
/freebsd-12.1/tools/test/testfloat/
H A Dtestfloat.txt140 Rounding precision control can only be applied to the extended double-
/freebsd-12.1/contrib/gcc/config/i386/
H A Di386.md124 ; x87 Rounding
17621 ;; Rounding mode control word calculation could clobber FLAGS_REG.
17862 ;; Rounding mode control word calculation could clobber FLAGS_REG.
18103 ;; Rounding mode control word calculation could clobber FLAGS_REG.
18186 ;; Rounding mode control word calculation could clobber FLAGS_REG.
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td713 // Rounding Instructions
/freebsd-12.1/contrib/binutils/bfd/
H A DChangeLog-9193239 rounding mode. Rounding modes do not consume input bytes, but