/llvm-project/clang/lib/AST/Interp/ |
H A D | Floating.h |
|
/llvm-project/llvm/test/MC/RISCV/ |
H A D | zfa-invalid.s | 5 # 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 D | zfa-valid.s | 21 # 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 D | rv32c-valid.s |
|
H A D | zfa-double-invalid.s | 8 # 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 D | zfa-half-invalid.s | 8 # 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 D | rv32dc-valid.s | 20 # 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 D | rv64dc-valid.s | 20 # 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 D | warn-infinity-nan-disabled-win.cpp | 122 // 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 D | warn-infinity-nan-disabled-lnx.cpp | 118 // 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 D | warn-double-promotion.c | 16 …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 D | builtins-elementwise-math.c | 40 // 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 D | warn-literal-range.c | 5 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 D | floating-point-compare.c | 4 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 D | RISCVSchedule.td | 43 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 D | pragma-floatcontrol.c | 2 // 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 D | X86Schedule.td | 23 // 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 D | SPIRVCLOps.td | 122 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 D | atomic | 266 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 D | bfloat16-a32-errors.s | 13 // 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 D | xtype_fp.s | 4 # 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 D | avxneconvertintrin.h | 28 /// 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 D | xtype_fp.txt | 4 # 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 D | SMTAPI.h | 34 /// 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 D | valid_real_type.verify.cpp | 16 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 …]
|