Home
last modified time | relevance | path

Searched refs:fmax (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/external/llvm-project/libc/test/src/math/
Dfmax_test.cpp20 EXPECT_FP_EQ(inf, __llvm_libc::fmax(nan, inf)); in TEST()
21 EXPECT_FP_EQ(negInf, __llvm_libc::fmax(negInf, nan)); in TEST()
22 EXPECT_FP_EQ(0.0, __llvm_libc::fmax(nan, 0.0)); in TEST()
23 EXPECT_FP_EQ(-0.0, __llvm_libc::fmax(-0.0, nan)); in TEST()
24 EXPECT_FP_EQ(-1.2345, __llvm_libc::fmax(nan, -1.2345)); in TEST()
25 EXPECT_FP_EQ(1.2345, __llvm_libc::fmax(1.2345, nan)); in TEST()
26 EXPECT_NE(isnan(__llvm_libc::fmax(nan, nan)), 0); in TEST()
30 EXPECT_FP_EQ(inf, __llvm_libc::fmax(negInf, inf)); in TEST()
31 EXPECT_FP_EQ(inf, __llvm_libc::fmax(inf, 0.0)); in TEST()
32 EXPECT_FP_EQ(inf, __llvm_libc::fmax(-0.0, inf)); in TEST()
[all …]
/external/llvm-project/llvm/test/Analysis/CostModel/X86/
Dreduce-fmax.ll14 …stimated cost of 0 for instruction: %V1 = call double @llvm.vector.reduce.fmax.v1f64(<1 x double> …
15 …stimated cost of 2 for instruction: %V2 = call double @llvm.vector.reduce.fmax.v2f64(<2 x double> …
16 …stimated cost of 3 for instruction: %V4 = call double @llvm.vector.reduce.fmax.v4f64(<4 x double> …
17 …stimated cost of 5 for instruction: %V8 = call double @llvm.vector.reduce.fmax.v8f64(<8 x double> …
18 …timated cost of 9 for instruction: %V16 = call double @llvm.vector.reduce.fmax.v16f64(<16 x double…
22 …stimated cost of 0 for instruction: %V1 = call double @llvm.vector.reduce.fmax.v1f64(<1 x double> …
23 …stimated cost of 2 for instruction: %V2 = call double @llvm.vector.reduce.fmax.v2f64(<2 x double> …
24 …stimated cost of 4 for instruction: %V4 = call double @llvm.vector.reduce.fmax.v4f64(<4 x double> …
25 …stimated cost of 5 for instruction: %V8 = call double @llvm.vector.reduce.fmax.v8f64(<8 x double> …
26 …timated cost of 7 for instruction: %V16 = call double @llvm.vector.reduce.fmax.v16f64(<16 x double…
[all …]
/external/llvm-project/llvm/test/MC/AArch64/SVE/
Dfmax.s10 fmax z0.h, p0/m, z0.h, #0.000000000000000 label
16 fmax z0.h, p0/m, z0.h, #0.0 label
22 fmax z0.s, p0/m, z0.s, #0.0 label
28 fmax z31.d, p7/m, z31.d, #1.0 label
34 fmax z31.h, p7/m, z31.h, #1.0 label
40 fmax z31.s, p7/m, z31.s, #1.0 label
46 fmax z0.d, p0/m, z0.d, #0.0 label
52 fmax z0.h, p7/m, z0.h, z31.h label
58 fmax z0.s, p7/m, z0.s, z31.s label
64 fmax z0.d, p7/m, z0.d, z31.d label
[all …]
Dfmax-diagnostics.s6 fmax z0.h, p0/m, z0.h, #0.5 label
11 fmax z0.h, p0/m, z0.h, #-0.0 label
16 fmax z0.h, p0/m, z0.h, #0.0000000000000000000000001 label
21 fmax z0.h, p0/m, z0.h, #1.0000000000000000000000001 label
26 fmax z0.h, p0/m, z0.h, #0.9999999999999999999999999 label
35 fmax z0.h, p7/m, z1.h, z31.h label
44 fmax z0.b, p7/m, z0.b, z31.b label
49 fmax z0.h, p7/m, z0.h, z31.s label
58 fmax z0.h, p8/m, z0.h, z31.h label
/external/XNNPACK/src/qu8-requantization/
Dfp32-scalar-magic.c33 const float fmax = (float) ((int32_t)(uint32_t) qmax - (int32_t)(uint32_t) zero_point); in xnn_qu8_requantize_fp32__scalar_magic() local
48 const float x_clamped = x_scaled < fmin ? fmin : x_scaled > fmax ? fmax : x_scaled; in xnn_qu8_requantize_fp32__scalar_magic()
49 const float y_clamped = y_scaled < fmin ? fmin : y_scaled > fmax ? fmax : y_scaled; in xnn_qu8_requantize_fp32__scalar_magic()
50 const float z_clamped = z_scaled < fmin ? fmin : z_scaled > fmax ? fmax : z_scaled; in xnn_qu8_requantize_fp32__scalar_magic()
51 const float w_clamped = w_scaled < fmin ? fmin : w_scaled > fmax ? fmax : w_scaled; in xnn_qu8_requantize_fp32__scalar_magic()
/external/XNNPACK/src/qs8-requantization/
Dfp32-scalar-magic.c33 const float fmax = (float) ((int32_t) qmax - (int32_t) zero_point); in xnn_qs8_requantize_fp32__scalar_magic() local
48 const float x_clamped = x_scaled < fmin ? fmin : x_scaled > fmax ? fmax : x_scaled; in xnn_qs8_requantize_fp32__scalar_magic()
49 const float y_clamped = y_scaled < fmin ? fmin : y_scaled > fmax ? fmax : y_scaled; in xnn_qs8_requantize_fp32__scalar_magic()
50 const float z_clamped = z_scaled < fmin ? fmin : z_scaled > fmax ? fmax : z_scaled; in xnn_qs8_requantize_fp32__scalar_magic()
51 const float w_clamped = w_scaled < fmin ? fmin : w_scaled > fmax ? fmax : w_scaled; in xnn_qs8_requantize_fp32__scalar_magic()
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dvecreduce-fmax-legalization-nan.ll4 declare half @llvm.vector.reduce.fmax.v1f16(<1 x half> %a)
5 declare float @llvm.vector.reduce.fmax.v1f32(<1 x float> %a)
6 declare double @llvm.vector.reduce.fmax.v1f64(<1 x double> %a)
7 declare fp128 @llvm.vector.reduce.fmax.v1f128(<1 x fp128> %a)
9 declare float @llvm.vector.reduce.fmax.v3f32(<3 x float> %a)
10 declare fp128 @llvm.vector.reduce.fmax.v2f128(<2 x fp128> %a)
11 declare float @llvm.vector.reduce.fmax.v16f32(<16 x float> %a)
17 %b = call half @llvm.vector.reduce.fmax.v1f16(<1 x half> %a)
27 %b = call float @llvm.vector.reduce.fmax.v1f32(<1 x float> %a)
35 %b = call double @llvm.vector.reduce.fmax.v1f64(<1 x double> %a)
[all …]
Dvecreduce-fmax-legalization.ll4 declare half @llvm.vector.reduce.fmax.v1f16(<1 x half> %a)
5 declare float @llvm.vector.reduce.fmax.v1f32(<1 x float> %a)
6 declare double @llvm.vector.reduce.fmax.v1f64(<1 x double> %a)
7 declare fp128 @llvm.vector.reduce.fmax.v1f128(<1 x fp128> %a)
9 declare float @llvm.vector.reduce.fmax.v3f32(<3 x float> %a)
10 declare fp128 @llvm.vector.reduce.fmax.v2f128(<2 x fp128> %a)
11 declare float @llvm.vector.reduce.fmax.v16f32(<16 x float> %a)
17 %b = call nnan half @llvm.vector.reduce.fmax.v1f16(<1 x half> %a)
27 %b = call nnan float @llvm.vector.reduce.fmax.v1f32(<1 x float> %a)
35 %b = call nnan double @llvm.vector.reduce.fmax.v1f64(<1 x double> %a)
[all …]
/external/llvm-project/libclc/amdgcn/lib/math/
Dfmax.cl5 _CLC_DEF _CLC_OVERLOAD float fmax(float x, float y)
8 * Otherwise fmax instruction flushes the values for comparison,
14 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, fmax, float, float)
20 _CLC_DEF _CLC_OVERLOAD double fmax(double x, double y)
26 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, fmax, double, double)
33 _CLC_DEF _CLC_OVERLOAD half fmax(half x, half y)
41 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, half, fmax, half, half)
45 #define __CLC_BODY <../../../generic/lib/math/fmax.inc>
/external/llvm-project/libclc/generic/lib/math/
Dfmax.inc4 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE fmax(__CLC_GENTYPE x, float y) {
5 return fmax(x, (__CLC_GENTYPE)((__CLC_SCALAR_GENTYPE)y));
12 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE fmax(__CLC_GENTYPE x, double y) {
13 return fmax(x, (__CLC_GENTYPE)((__CLC_SCALAR_GENTYPE)y));
22 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE fmax(__CLC_GENTYPE x, half y) {
23 return fmax(x, (__CLC_GENTYPE)((__CLC_SCALAR_GENTYPE)y));
Dfmax.cl5 _CLC_DEFINE_BINARY_BUILTIN(float, fmax, __builtin_fmaxf, float, float);
11 _CLC_DEFINE_BINARY_BUILTIN(double, fmax, __builtin_fmax, double, double);
19 _CLC_DEF _CLC_OVERLOAD half fmax(half x, half y)
27 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, half, fmax, half, half)
31 #define __CLC_BODY <fmax.inc>
/external/llvm-project/libclc/r600/lib/math/
Dfmax.cl6 _CLC_DEF _CLC_OVERLOAD float fmax(float x, float y)
8 /* Flush denormals if not enabled. Otherwise fmax instruction flushes
14 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, fmax, float, float)
20 _CLC_DEF _CLC_OVERLOAD double fmax(double x, double y)
24 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, fmax, double, double)
28 #define __CLC_BODY <../../../generic/lib/math/fmax.inc>
/external/llvm-project/llvm/test/CodeGen/ARM/
Dvecreduce-fmax-legalization-soft-float.ll4 declare half @llvm.vector.reduce.fmax.v4f16(<4 x half>)
5 declare float @llvm.vector.reduce.fmax.v4f32(<4 x float>)
6 declare double @llvm.vector.reduce.fmax.v2f64(<2 x double>)
7 declare fp128 @llvm.vector.reduce.fmax.v2f128(<2 x fp128>)
40 %b = call fast half @llvm.vector.reduce.fmax.v4f16(<4 x half> %a)
58 %b = call fast float @llvm.vector.reduce.fmax.v4f32(<4 x float> %a)
67 ; CHECK-NEXT: bl fmax
70 %b = call fast double @llvm.vector.reduce.fmax.v2f64(<2 x double> %a)
93 %b = call fast fp128 @llvm.vector.reduce.fmax.v2f128(<2 x fp128> %a)
/external/llvm-project/llvm/test/MC/VE/
DFMAXMIN.s6 # CHECK-INST: fmax.d %s11, %s20, %s22
8 fmax.d %s11, %s20, %s22
10 # CHECK-INST: fmax.s %s11, 22, %s22
12 fmax.s %s11, 22, %s22
/external/llvm-project/llvm/test/MC/AArch64/
Dneon-max-min.s70 fmax v0.4h, v1.4h, v2.4h
71 fmax v0.8h, v1.8h, v2.8h
72 fmax v0.2s, v1.2s, v2.2s
73 fmax v31.4s, v15.4s, v16.4s
74 fmax v7.2d, v8.2d, v25.2d
/external/llvm/test/MC/AArch64/
Dneon-max-min.s70 fmax v0.4h, v1.4h, v2.4h
71 fmax v0.8h, v1.8h, v2.8h
72 fmax v0.2s, v1.2s, v2.2s
73 fmax v31.4s, v15.4s, v16.4s
74 fmax v7.2d, v8.2d, v25.2d
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/
Dfabs_vec_builtin.ll4 declare <4 x float> @llvm.mips.fmax.a.w(<4 x float>, <4 x float>)
15 %1 = tail call <4 x float> @llvm.mips.fmax.a.w(<4 x float> %0, <4 x float> %0)
21 declare <2 x double> @llvm.mips.fmax.a.d(<2 x double>, <2 x double>)
32 %1 = tail call <2 x double> @llvm.mips.fmax.a.d(<2 x double> %0, <2 x double> %0)
/external/llvm-project/compiler-rt/lib/builtins/hexagon/
Ddfminmax.S30 .global fmax symbol
31 .type fmax,@function
58 fmax: label
/external/llvm-project/libc/src/math/
Dfmax.cpp14 double LLVM_LIBC_ENTRYPOINT(fmax)(double x, double y) { in LLVM_LIBC_ENTRYPOINT() argument
15 return fputil::fmax(x, y); in LLVM_LIBC_ENTRYPOINT()
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/legalizer/
Dfabs_vec_builtin.mir5 declare <4 x float> @llvm.mips.fmax.a.w(<4 x float>, <4 x float>)
8 declare <2 x double> @llvm.mips.fmax.a.d(<2 x double>, <2 x double>)
31 %3:_(<4 x s32>) = G_INTRINSIC intrinsic(@llvm.mips.fmax.a.w), %2(<4 x s32>), %2(<4 x s32>)
55 %3:_(<2 x s64>) = G_INTRINSIC intrinsic(@llvm.mips.fmax.a.d), %2(<2 x s64>), %2(<2 x s64>)
/external/llvm-project/llvm/test/CodeGen/X86/
Dvector-reduce-fmax-nnan.ll38 %1 = call nnan float @llvm.vector.reduce.fmax.v2f32(<2 x float> %a0)
87 %1 = call nnan float @llvm.vector.reduce.fmax.v4f32(<4 x float> %a0)
158 %1 = call nnan float @llvm.vector.reduce.fmax.v8f32(<8 x float> %a0)
250 %1 = call nnan float @llvm.vector.reduce.fmax.v16f32(<16 x float> %a0)
277 %1 = call nnan double @llvm.vector.reduce.fmax.v2f64(<2 x double> %a0)
319 %1 = call nnan double @llvm.vector.reduce.fmax.v3f64(<3 x double> %a0)
353 %1 = call nnan double @llvm.vector.reduce.fmax.v4f64(<4 x double> %a0)
398 %1 = call nnan double @llvm.vector.reduce.fmax.v8f64(<8 x double> %a0)
450 %1 = call nnan double @llvm.vector.reduce.fmax.v16f64(<16 x double> %a0)
514 %1 = call nnan half @llvm.vector.reduce.fmax.v2f16(<2 x half> %a0)
[all …]
/external/clang/test/Driver/
Drewrite-legacy-objc.m6 …-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fexceptions" "-fmax-type-align=16" "-fd…
12 …ck-signature" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fmax-type-align=16" "-fd…
13 …ck-signature" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fmax-type-align=16" "-fd…
/external/llvm-project/clang/test/Driver/
Drewrite-legacy-objc.m6 …ile" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fexceptions" "-fmax-type-align=16"
12 …ing-legacy-runtime" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fmax-type-align=16"
13 …ing-legacy-runtime" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fmax-type-align=16"
/external/swiftshader/tests/MathUnitTests/
Dunittests.cpp71 const float max_c = fmax(fmax(red_c, green_c), blue_c); in RGB9E5_reference()
72 const float exp_p = fmax(-g_sharedexp_bias - 1, floor(log2(max_c))) + 1 + g_sharedexp_bias; in RGB9E5_reference()
/external/llvm/test/CodeGen/PowerPC/
Dfmaxnum.ll4 declare double @fmax(double, double)
22 ; CHECK: bl fmax
24 %z = call double @fmax(double %x, double %y) readnone
43 ; CHECK: bl fmax

12345678910>>...14