Home
last modified time | relevance | path

Searched refs:Precision (Results 1 – 25 of 74) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Drv64dc-valid.s15 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
16 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
21 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
26 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
27 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
32 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
H A Drv32dc-valid.s15 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
16 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
21 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
26 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
27 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
32 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
H A Drv32fc-valid.s21 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
22 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
27 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
28 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
34 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
35 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
40 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
41 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
H A Drv32zhinxmin-invalid.s4 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
5 …: instruction requires the following: 'Zfh' (Half-Precision Floating-Point) or 'Zfhmin' (Half-Prec…
H A Drv64zhinx-invalid.s4 …: instruction requires the following: 'Zfh' (Half-Precision Floating-Point) or 'Zfhmin' (Half-Prec…
H A Drv64zhinxmin-invalid.s4 …: instruction requires the following: 'Zfh' (Half-Precision Floating-Point) or 'Zfhmin' (Half-Prec…
H A Drv32zhinx-invalid.s4 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
5 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point)
H A Drv32zfinx-invalid.s4 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
5 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
H A Drv32zdinx-invalid.s7 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
8 …ECK: :[[@LINE]]:1: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
/llvm-project-15.0.7/llvm/lib/Support/
H A DScaledNumber.cpp162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
202 unsigned Precision) { in toString() argument
235 return toStringAPFloat(D, E, Precision); in toString()
278 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
281 if (!Precision || DigitsOut <= Precision) in toString()
286 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
316 int Width, unsigned Precision) { in print() argument
317 return OS << toString(D, E, Width, Precision); in print()
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DXFloat.h19 template <size_t Precision> class XFloat {
21 UInt<Precision> man;
22 static constexpr uint64_t WordCount = Precision / 64;
55 XFloat(int e, const UInt<Precision> &bits) : exp(e) { in XFloat()
76 if (exp > int(Precision - 1)) { in drop_int()
88 double mul(const XFloat<Precision> &other) { in mul()
91 constexpr size_t result_bits = 2 * Precision; in mul()
/llvm-project-15.0.7/libcxx/benchmarks/
H A Dformatter_float.bench.cpp187 struct Precision {}; struct
190 struct Precision<PrecisionE::None> { struct
195 struct Precision<PrecisionE::Zero> { struct
200 struct Precision<PrecisionE::Small> { struct
205 struct Precision<PrecisionE::Huge> { argument
230 …return std::string("{:") + Alignment<A::value>::fmt + Precision<P::value>::fmt + Localization<L::v… in make_fmt() argument
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/
H A DLoongArch.td32 // Single Precision floating point
35 "'F' (Single-Precision Floating-Point)">;
39 "'F' (Single-Precision Floating-Point)">;
41 // Double Precision floating point
44 "'D' (Double-Precision Floating-Point)",
49 "'D' (Double-Precision Floating-Point)">;
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheckImpl.h56 unsigned Precision = 0; member
68 Precision == Other.Precision && AlternateForm == Other.AlternateForm;
83 explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){}; in ExpressionFormat()
84 explicit ExpressionFormat(Kind Value, unsigned Precision) in ExpressionFormat()
85 : Value(Value), Precision(Precision){}; in ExpressionFormat()
86 explicit ExpressionFormat(Kind Value, unsigned Precision, bool AlternateForm) in ExpressionFormat()
87 : Value(Value), Precision(Precision), AlternateForm(AlternateForm){}; in ExpressionFormat()
/llvm-project-15.0.7/clang/lib/AST/
H A DOSLog.cpp26 Optional<const Expr *> Precision; member
116 ArgsData.back().Precision = Args[FS.getPrecision().getArgIndex()]; in HandlePrintfSpecifier()
149 if (Data.Precision) { in computeLayout()
150 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); in computeLayout()
151 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.Precision, in computeLayout()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp145 int Precision = -1; in formatString() local
148 Precision = va_arg(Args, int); in formatString()
159 CHECK(!((Precision >= 0 || LeftJustified) && *Cur != 's')); in formatString()
189 Precision, va_arg(Args, char *)); in formatString()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCV.td44 "'F' (Single-Precision Floating-Point)">;
47 "'F' (Single-Precision Floating-Point)">;
51 "'D' (Double-Precision Floating-Point)",
55 "'D' (Double-Precision Floating-Point)">;
66 "'Zfhmin' (Half-Precision Floating-Point Minimal)",
70 "'Zfhmin' (Half-Precision Floating-Point Minimal)">;
74 "'Zfh' (Half-Precision Floating-Point)",
78 "'Zfh' (Half-Precision Floating-Point)">;
83 "'Zfh' (Half-Precision Floating-Point) or "
84 "'Zfhmin' (Half-Precision Floating-Point Minimal)">;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormatProviders.h315 Optional<size_t> Precision = parseNumericPrecision(Style);
316 if (!Precision)
317 Precision = getDefaultPrecision(S);
319 write_double(Stream, static_cast<double>(V), S, Precision);
H A DScaledNumber.h425 unsigned Precision);
427 unsigned Precision);
595 std::string toString(unsigned Precision = DefaultPrecision) {
596 return ScaledNumberBase::toString(Digits, Scale, Width, Precision);
603 unsigned Precision = DefaultPrecision) const {
604 return ScaledNumberBase::print(OS, Digits, Scale, Width, Precision);
/llvm-project-15.0.7/libclc/
H A DREADME.TXT14 * 9.3: Double Precision Floating-Point
17 * 9.6: Half Precision Floating-Point
/llvm-project-15.0.7/llvm/test/MC/LoongArch/Basic/Float/
H A Df-invalid.s3 # CHECK: :[[#@LINE+1]]:1: error: instruction requires the following: 'D' (Double-Precision Floating…
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMScheduleV6.td215 // Single-Precision FP to Integer Convert
218 // Double-Precision FP to Integer Convert
221 // Integer to Single-Precision FP Convert
224 // Integer to Double-Precision FP Convert
/llvm-project-15.0.7/llvm/unittests/Support/
H A DNativeFormatTests.cpp38 Optional<size_t> Precision = None) { in format_number() argument
41 write_double(Str, D, Style, Precision); in format_number()
/llvm-project-15.0.7/libc/utils/MPFRWrapper/
H A DMPFRUtils.cpp40 template <typename T> struct Precision;
42 template <> struct Precision<float> { struct
46 template <> struct Precision<double> { struct
51 template <> struct Precision<long double> { struct
55 template <> struct Precision<long double> { struct
59 template <> struct Precision<long double> { struct
86 return Precision<T>::VALUE; in get_precision()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DFormatString.h511 OptionalAmount Precision; variable
565 Precision = Amt; in setPrecision()
566 Precision.setUsesDotPrefix(); in setPrecision()
570 return Precision; in getPrecision()

123