Home
last modified time | relevance | path

Searched full:floating (Results 1 – 25 of 2115) sorted by relevance

12345678910>>...85

/llvm-project/clang/lib/AST/Interp/
H A DFloating.h
/llvm-project/llvm/test/MC/RISCV/
H A Dzfa-invalid.s5 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
6 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
9 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
10 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
13 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
14 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
17 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
18 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
21 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
22 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
[all …]
H A Dzfa-valid.s21 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
26 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
31 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
36 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
41 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
46 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
51 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
56 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
61 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
66 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating
[all...]
H A Drv32c-valid.s
H A Dzfa-double-invalid.s8 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
11 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
14 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
17 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
20 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
23 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
26 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
29 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
32 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
35 # CHECK-NO-EXTD: error: instruction requires the following: 'D' (Double-Precision Floating
[all...]
H A Dzfa-half-invalid.s8 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
11 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
14 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
17 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
20 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
23 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
26 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
29 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
32 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
35 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating
[all...]
H A Drv32dc-valid.s20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
21 # CHECK-NO-EXT-DC: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point Instructions), 'D' (Double-Precision Floating-Point){{$}}
25 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
26 # CHECK-NO-EXT-DC: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point Instructions), 'D' (Double-Precision Floating-Point){{$}}
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
32 # CHECK-NO-EXT-DC: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point Instructions), 'D' (Double-Precision Floating-Point){{$}}
36 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating
[all...]
H A Drv64dc-valid.s20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
21 # CHECK-NO-EXT-DC: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point Instructions), 'D' (Double-Precision Floating-Point){{$}}
25 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
26 # CHECK-NO-EXT-DC: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point Instructions), 'D' (Double-Precision Floating-Point){{$}}
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point){{$}}
32 # CHECK-NO-EXT-DC: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point Instructions), 'D' (Double-Precision Floating-Point){{$}}
36 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating
[all...]
/llvm-project/clang/test/Sema/
H A Dwarn-infinity-nan-disabled-win.cpp122 // no-inf-no-nan-warning@+2 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
123 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
126 // no-inf-no-nan-warning@+2 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
127 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
130 // no-inf-no-nan-warning@+4 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
131 // no-inf-no-nan-warning@+3 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
132 // no-inf-warning@+2 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
133 // no-nan-warning@+1 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
136 // no-inf-no-nan-warning@+4 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
137 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating in compareit()
[all...]
H A Dwarn-infinity-nan-disabled-lnx.cpp118 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
119 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
120 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
121 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
124 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
125 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
126 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
127 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
130 // no-inf-no-nan-warning@+4 {{use of NaN is undefined behavior due to the currently enabled floating-point options}} in compareit()
131 // no-inf-no-nan-warning@+3 {{use of NaN via a macro is undefined behavior due to the currently enabled floating in compareit()
[all...]
H A Dwarn-double-promotion.c16 …return f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to … in ReturnDoubleFromFloat()
20 …return f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to … in ReturnLongDoubleFromFloat()
24 …return d; //expected-warning{{implicit conversion increases floating-point precision: 'double' to… in ReturnLongDoubleFromDouble()
28 …d = f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to 'do… in Assignment()
29 …ld = f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to 'lo… in Assignment()
30 …ld = d; //expected-warning{{implicit conversion increases floating-point precision: 'double' to 'l… in Assignment()
40 …DoubleParameter(f); // expected-warning{{implicit conversion increases floating-point precision: '… in ArgumentPassing()
41 …LongDoubleParameter(f); // expected-warning{{implicit conversion increases floating-point precisio… in ArgumentPassing()
42 …LongDoubleParameter(d); // expected-warning{{implicit conversion increases floating-point precisio… in ArgumentPassing()
46 …f = f * d; // expected-warning{{implicit conversion increases floating-point precision: 'float' to… in BinaryOperator()
[all …]
H A Dbuiltins-elementwise-math.c40 // expected-error@-1 {{1st argument must be a signed integer or floating point type (was 'unsigned int')}} in test_builtin_elementwise_abs()
43 // expected-error@-1 {{1st argument must be a signed integer or floating point type (was 'unsigned4' (vector of 4 'unsigned int' values))}} in test_builtin_elementwise_abs()
98 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_add_sat()
106 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was '_Complex float')}} in test_builtin_elementwise_sub_sat()
161 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_sub_sat()
169 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was '_Complex float')}} in test_builtin_elementwise_max()
221 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_min()
229 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was '_Complex float')}} in test_builtin_elementwise_min()
281 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_bitreverse()
289 // expected-error@-1 {{1st argument must be a vector, integer or floating poin in test_builtin_elementwise_bitreverse()
[all...]
H A Dwarn-literal-range.c5 float f1 = 1.4E-46f; // expected-warning {{magnitude of floating-point constant too small for type …
7 float f2 = 3.4E+39f; // expected-warning {{magnitude of floating-point constant too large for type …
11 float f4 = 0x0.42p-1000f; // expected-warning {{magnitude of floating-point constant too small for …
13 float f5 = 0x0.42p+1000f; // expected-warning {{magnitude of floating-point constant too large for …
17 double d1 = 3.6E-4952; // expected-warning {{magnitude of floating-point constant too small for typ…
19 double d2 = 1.7E+309; // expected-warning {{magnitude of floating-point constant too large for type…
23 double d4 = 0x0.42p-4200; // expected-warning {{magnitude of floating-point constant too small for …
25 double d5 = 0x0.42p+4200; // expected-warning {{magnitude of floating-point constant too large for …
29 long double ld1 = 3.6E-4952L; // expected-warning {{magnitude of floating-point constant too small …
31 long double ld2 = 1.2E+4932L; // expected-warning {{magnitude of floating-point constant too large …
[all …]
H A Dfloating-point-compare.c4 return x == y; // expected-warning {{comparing floating point with ==}} in f1()
8 return x != y; // expected-warning {{comparing floating point with ==}} in f2()
26 return x == 3.14159; // expected-warning {{floating-point comparison is always false}} in tautological_FP_compare()
30 return x != 3.14159; // expected-warning {{floating-point comparison is always true}} in tautological_FP_compare_inverse()
36 return f == 0.1; // expected-warning {{comparing floating point with ==}} in not_tautological_FP_compare()
40 return 0.3 == f; // expected-warning {{floating-point comparison is always false}} in tautological_FP_compare_commute()
44 return 0.3 != f; // expected-warning {{floating-point comparison is always true}} in tautological_FP_compare_commute_inverse()
48 return 0.3 == (double) f; // expected-warning {{floating-point comparison is always false}} in tautological_FP_compare_explicit_upcast()
52 return 0.3 == (float) d; // expected-warning {{floating-point comparison is always false}} in tautological_FP_compare_explicit_downcast()
56 return f == (0.3); // expected-warning {{floating-point comparison is always false}} in tautological_FP_compare_ignore_parens()
[all …]
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSchedule.td43 def WriteFAdd16 : SchedWrite; // 16-bit floating point addition/subtraction
44 def WriteFAdd32 : SchedWrite; // 32-bit floating point addition/subtraction
45 def WriteFAdd64 : SchedWrite; // 64-bit floating point addition/subtraction
46 def WriteFMul16 : SchedWrite; // 16-bit floating point multiply
47 def WriteFMul32 : SchedWrite; // 32-bit floating point multiply
48 def WriteFMul64 : SchedWrite; // 64-bit floating point multiply
49 def WriteFMA16 : SchedWrite; // 16-bit floating point fused multiply-add
50 def WriteFMA32 : SchedWrite; // 32-bit floating point fused multiply-add
51 def WriteFMA64 : SchedWrite; // 64-bit floating point fused multiply-add
52 def WriteFDiv16 : SchedWrite; // 16-bit floating poin
[all...]
/llvm-project/clang/test/PCH/
H A Dpragma-floatcontrol.c2 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -include %s -verify -fsyntax-only -DSET
3 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -include %s -verify -fsyntax-only -DPUSH
4 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -include %s -verify -fsyntax-only -DPUS…
7 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -emit-pch -o %t
8 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -include-pch %t -emit-llvm -o - |…
9 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -ffp-contract=on -DSET -emit-pch -o %t
10 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -include-pch %t -emit-llvm -o - |…
11 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -menable-no-nans -DSET -emit-pch -o %t
12 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -include-pch %t -emit-llvm -o - |…
13 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -frounding-math -DSET -emit-pch -o %t
[all …]
/llvm-project/llvm/lib/Target/X86/
H A DX86Schedule.td23 // integer unit to the floating point unit.
218 // Floating point. This covers both scalar and vector operations.
244 defm WriteFAdd : X86SchedWritePair<ReadAfterVecLd>; // Floating point add/sub.
245 defm WriteFAddX : X86SchedWritePair<ReadAfterVecXLd>; // Floating point add/sub (XMM).
246 defm WriteFAddY : X86SchedWritePair<ReadAfterVecYLd>; // Floating point add/sub (YMM).
247 defm WriteFAddZ : X86SchedWritePair<ReadAfterVecYLd>; // Floating point add/sub (ZMM).
248 defm WriteFAdd64 : X86SchedWritePair<ReadAfterVecLd>; // Floating point double add/sub.
249 defm WriteFAdd64X : X86SchedWritePair<ReadAfterVecXLd>; // Floating point double add/sub (XMM).
250 defm WriteFAdd64Y : X86SchedWritePair<ReadAfterVecYLd>; // Floating point double add/sub (YMM).
251 defm WriteFAdd64Z : X86SchedWritePair<ReadAfterVecYLd>; // Floating point double add/sub (ZMM).
[all …]
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCLOps.td122 Result Type, y and x must be floating-point or vector(2,3,4,8,16) of
123 floating-point values.
145 Result Type and x must be floating-point or vector(2,3,4,8,16) of
146 floating-point values.
168 Result Type and x must be floating-point or vector(2,3,4,8,16) of
169 floating-point values.
191 Result Type and x must be floating-point or vector(2,3,4,8,16) of
192 floating-point values.
214 Result Type and x must be floating-point or vector(2,3,4,8,16) of
215 floating
[all...]
/llvm-project/libcxx/include/
H A Datomic266 struct atomic<floating-point-type> { // since C++20
267 using value_type = floating-point-type;
275 constexpr atomic(floating-point-type) noexcept;
280 void store(floating-point-type, memory_order = memory_order::seq_cst) volatile noexcept;
281 void store(floating-point-type, memory_order = memory_order::seq_cst) noexcept;
282 floating-point-type operator=(floating-point-type) volatile noexcept;
283 floating-point-type operator=(floating-point-type) noexcept;
284 floating
[all...]
/llvm-project/llvm/test/MC/ARM/
H A Dbfloat16-a32-errors.s13 // NOBF16: error: instruction requires: BFloat16 floating point extension
16 // NOBF16-NEXT: error: instruction requires: BFloat16 floating point extension
19 // NOBF16-NEXT: error: instruction requires: BFloat16 floating point extension
22 // NOBF16-NEXT: error: instruction requires: BFloat16 floating point extension
25 // NOBF16-NEXT: error: instruction requires: BFloat16 floating point extension
28 // NOBF16-NEXT: error: instruction requires: BFloat16 floating point extension
32 // NONEON: error: instruction requires: BFloat16 floating point extension NEON
35 // NONEON-NEXT: error: instruction requires: BFloat16 floating point extension NEON
38 // NONEON-NEXT: error: instruction requires: BFloat16 floating point extension NEON
41 // NONEON-NEXT: error: instruction requires: BFloat16 floating point extension NEON
[all …]
/llvm-project/llvm/test/MC/Hexagon/instructions/
H A Dxtype_fp.s4 # Floating point addition
8 # Classify floating-point value
14 # Compare floating-point value
32 # Convert floating-point value to other format
38 # Convert integer to floating-point value
56 # Convert floating-point value to integer
90 # Floating point extreme value assistance
98 # Floating point fused multiply-add
104 # Floating point fused multiply-add with scaling
108 # Floating point reciprocal square root approximation
[all …]
/llvm-project/clang/lib/Headers/
H A Davxneconvertintrin.h28 /// Convert scalar BF16 (16-bit) floating-point element
30 /// single-precision (32-bit) floating-point, broadcast it to packed
31 /// single-precision (32-bit) floating-point elements, and store the results in
61 /// Convert scalar BF16 (16-bit) floating-point element
63 /// single-precision (32-bit) floating-point, broadcast it to packed
64 /// single-precision (32-bit) floating-point elements, and store the results in
94 /// Convert scalar half-precision (16-bit) floating-point element
96 /// single-precision (32-bit) floating-point, broadcast it to packed
97 /// single-precision (32-bit) floating-point elements, and store the results in
127 /// Convert scalar half-precision (16-bit) floating-point element
[all …]
/llvm-project/llvm/test/MC/Disassembler/Hexagon/
H A Dxtype_fp.txt4 # Floating point addition
8 # Classify floating-point value
14 # Compare floating-point value
32 # Convert floating-point value to other format
38 # Convert integer to floating-point value
56 # Convert floating-point value to integer
90 # Floating point extreme value assistance
98 # Floating point fused multiply-add
104 # Floating point fused multiply-add with scaling
108 # Floating point reciprocal square root approximation
[all …]
/llvm-project/llvm/include/llvm/Support/
H A DSMTAPI.h34 /// Returns true if the sort is a floating-point, calls isFloatSortImpl().
49 /// Returns the floating-point size, fails if the sort is not a floating-point
52 assert(isFloatSort() && "Not a floating-point sort!"); in getFloatSortSize()
83 /// Query the SMT solver and checks if a sort is floating-point.
156 // Returns an appropriate floating-point sort for the given bitwidth.
169 llvm_unreachable("Unsupported floating-point bitwidth!"); in getFloatSort()
178 // Returns a floating-point sort of width 16
181 // Returns a floating-point sort of width 32
184 // Returns a floating-point sort of width 64
187 // Returns a floating-point sort of width 128
[all …]
/llvm-project/libcxx/test/libcxx/numerics/rand/rand.req.urng/
H A Dvalid_real_type.verify.cpp16 baddist; //expected-error@*:* {{RealType must be a supported floating-point type}} in test()
23 baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
30 …stribution<int> baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
37 …stribution<int> baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
45 baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
52 …stribution<int> baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
59 …stribution<int> baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
67 baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
74 …stribution<int> baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
81 …stribution<int> baddist; // expected-error@*:* {{RealType must be a supported floating-point type}} in test()
[all …]

12345678910>>...85