/dports/lang/pocl/pocl-1.8/lib/kernel/sleef/libm/ |
H A D | sleefsimddp.c | 141 e = vsel_vd_vo_vd_vd(veq_vo_vd_vd(d, vcast_vd_d(0)), vcast_vd_d(SLEEF_FP_ILOGB0), e); in xilogb() 239 vmla_vd_vd_vd_vd(dqh, vcast_vd_d(-(1 << 23)), vcast_vd_d(-0.5)))); in xcos() 280 dql = vmla_vd_vd_vd_vd(vcast_vd_d(2), dql, vcast_vd_d(1)); in xcos_u1() 287 vmla_vd_vd_vd_vd(dqh, vcast_vd_d(-(1 << 23)), vcast_vd_d(-0.5)))); in xcos_u1() 851 vcast_vd_d(-0.5), vcast_vd_d(0.5)), dqh)); in xtan_u1() 1615 vcast_vd_d(1), in xpow() 1616 …vsel_vd_vo_vd_vd(yisint, vsel_vd_vo_vd_vd(yisodd, vcast_vd_d(-1.0), vcast_vd_d(1)), vcast_vd_d(SLE… in xpow() 1635 … vsel_vd_vo_vd_vd(vor_vo_vo_vo(veq_vo_vd_vd(y, vcast_vd_d(0)), veq_vo_vd_vd(x, vcast_vd_d(1))), vc… in xpow() 2490 d = vsel_vd_vo_vd_vd(vlt_vo_vd_vd(d, vcast_vd_d(0)), vcast_vd_d(SLEEF_NAN), d); in xsqrt_u05() 2494 q = vsel_vd_vo_vd_vd(o, vcast_vd_d(2.9387358770557188E-39*0.5), vcast_vd_d(0.5)); in xsqrt_u05() [all …]
|
H A D | dd.h | 20 vdouble2 ret = {vcast_vd_d(h), vcast_vd_d(l)}; in vcast_vd2_d_d() 82 …erpret_vm_vd(x.y), vand_vm_vm_vm(vreinterpret_vm_vd(x.x), vreinterpret_vm_vd(vcast_vd_d(-0.0)))))); in ddabs_vd2_vd2() 220 q.y = vfmanp_vd_vd_vd_vd(d.y, t, vfmanp_vd_vd_vd_vd(d.x, t, vcast_vd_d(1))); in dddiv_vd2_vd2_vd2() 274 q.y = vmul_vd_vd_vd(q.x, vfmanp_vd_vd_vd_vd(d, q.x, vcast_vd_d(1))); in ddrec_vd2_vd() 283 …q.y = vmul_vd_vd_vd(q.x, vfmanp_vd_vd_vd_vd(d.y, q.x, vfmanp_vd_vd_vd_vd(d.x, q.x, vcast_vd_d(1)))… in ddrec_vd2_vd2() 299 …vmul_vd_vd_vd(q.x, vsub_vd_5vd(vcast_vd_d(1), vmul_vd_vd_vd(dh, th), vmul_vd_vd_vd(dh, tl), vmul_v… in dddiv_vd2_vd2_vd2() 369 …q.y = vmul_vd_vd_vd(t, vsub_vd_5vd(vcast_vd_d(1), vmul_vd_vd_vd(dh, th), vmul_vd_vd_vd(dh, tl), vm… in ddrec_vd2_vd() 381 …q.y = vmul_vd_vd_vd(t, vsub_vd_6vd(vcast_vd_d(1), vmul_vd_vd_vd(dh, th), vmul_vd_vd_vd(dh, tl), vm… in ddrec_vd2_vd2() 389 …ddmul_vd2_vd2_vd2(ddadd2_vd2_vd2_vd2(d, ddmul_vd2_vd_vd(t, t)), ddrec_vd2_vd(t)), vcast_vd_d(0.5)); in ddsqrt_vd2_vd2() 394 …(ddmul_vd2_vd2_vd2(ddadd2_vd2_vd_vd2(d, ddmul_vd2_vd_vd(t, t)), ddrec_vd2_vd(t)), vcast_vd_d(0.5)); in ddsqrt_vd2_vd()
|
/dports/math/sleef/sleef-3.5.0/src/libm/ |
H A D | sleefsimddp.c | 724 vmla_vd_vd_vd_vd(dqh, vcast_vd_d(-(1 << 23)), vcast_vd_d(-0.5)))); in xcos() 779 vcast_vd_d(1)); in xcos() 787 vmla_vd_vd_vd_vd(dqh, vcast_vd_d(-(1 << 23)), vcast_vd_d(-0.5)))); in xcos() 852 dql = vmla_vd_vd_vd_vd(vcast_vd_d(2), dql, vcast_vd_d(1)); in xcos_u1() 859 vmla_vd_vd_vd_vd(dqh, vcast_vd_d(-(1 << 23)), vcast_vd_d(-0.5)))); in xcos_u1() 914 dql = vmla_vd_vd_vd_vd(vcast_vd_d(2), dql, vcast_vd_d(1)); in xcos_u1() 922 vmla_vd_vd_vd_vd(dqh, vcast_vd_d(-(1 << 23)), vcast_vd_d(-0.5)))); in xcos_u1() 1719 vcast_vd_d(-0.5), vcast_vd_d(0.5)), dqh)); in xtan_u1() 1788 vcast_vd_d(-0.5), vcast_vd_d(0.5)), dqh)); in xtan_u1() 2427 …vsel_vd_vo_vd_vd(yisint, vsel_vd_vo_vd_vd(yisodd, vcast_vd_d(-1.0), vcast_vd_d(1)), vcast_vd_d(SLE… in xpow() [all …]
|
H A D | dd.h | 27 return vd2setxy_vd2_vd_vd(vcast_vd_d(h), vcast_vd_d(l)); in vcast_vd2_d_d() 86 vreinterpret_vm_vd(vcast_vd_d(-0.0)))))); in ddabs_vd2_vd2() 174 … vfmanp_vd_vd_vd_vd(vd2gety_vd_vd2(d), t, vfmanp_vd_vd_vd_vd(vd2getx_vd_vd2(d), t, vcast_vd_d(1))); in dddiv_vd2_vd2_vd2() 208 return vd2setxy_vd2_vd_vd(s, vmul_vd_vd_vd(s, vfmanp_vd_vd_vd_vd(d, s, vcast_vd_d(1)))); in ddrec_vd2_vd() 213 …fmanp_vd_vd_vd_vd(vd2gety_vd_vd2(d), s, vfmanp_vd_vd_vd_vd(vd2getx_vd_vd2(d), s, vcast_vd_d(1))))); in ddrec_vd2_vd2() 225 …vmul_vd_vd_vd(s, vsub_vd_5vd(vcast_vd_d(1), vmul_vd_vd_vd(dh, th), vmul_vd_vd_vd(dh, tl), vmul_vd_… in dddiv_vd2_vd2_vd2() 279 …return vd2setxy_vd2_vd_vd(t, vmul_vd_vd_vd(t, vsub_vd_5vd(vcast_vd_d(1), vmul_vd_vd_vd(dh, th), vm… in ddrec_vd2_vd() 287 …return vd2setxy_vd2_vd_vd(t, vmul_vd_vd_vd(t, vsub_vd_6vd(vcast_vd_d(1), vmul_vd_vd_vd(dh, th), vm… in ddrec_vd2_vd2() 293 …ddmul_vd2_vd2_vd2(ddadd2_vd2_vd2_vd2(d, ddmul_vd2_vd_vd(t, t)), ddrec_vd2_vd(t)), vcast_vd_d(0.5)); in ddsqrt_vd2_vd2() 298 …(ddmul_vd2_vd2_vd2(ddadd2_vd2_vd_vd2(d, ddmul_vd2_vd_vd(t, t)), ddrec_vd2_vd(t)), vcast_vd_d(0.5)); in ddsqrt_vd2_vd()
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | sleefsseavx.h | 253 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 465 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(rtengin… in xatan2() 500 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 540 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 597 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 684 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 725 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 737 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 749 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 804 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
H A D | helperavx.h | 48 static INLINE vdouble vcast_vd_d(double d) in vcast_vd_d() function 497 vmask m = vmask_lt(d, vcast_vd_d(4.9090934652977266E-91)); in vilogbp1() 498 d = vsel(m, vmul(vcast_vd_d(2.037035976334486E90), d), d); in vilogbp1() 499 c = _mm256_cvtpd_epi32(vsel(m, vcast_vd_d(300 + 0x3fe), vcast_vd_d(0x3fe))); in vilogbp1()
|
/dports/graphics/librtprocess/librtprocess-0.11.0/src/include/ |
H A D | sleefsseavx.c | 252 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 464 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(librtpr… in xatan2() 499 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 539 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 596 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 683 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 724 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 736 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 748 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 803 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
/dports/astro/siril/siril/subprojects/librtprocess/src/include/ |
H A D | sleefsseavx.h | 257 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 469 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(librtpr… in xatan2() 504 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 544 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 601 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 688 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 729 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 741 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 753 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 808 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
/dports/astro/siril/siril/src/rt/ |
H A D | sleefsseavx.c | 255 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 467 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(rtengin… in xatan2() 502 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 542 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 599 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 686 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 727 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 739 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 751 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 806 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/ |
H A D | sleefsseavx.c | 262 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 474 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(lhdreng… in xatan2() 509 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 549 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 606 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 693 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 734 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 746 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 758 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 813 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | sleefsseavx.c | 252 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 464 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(rtengin… in xatan2() 499 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 539 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 596 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 683 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 724 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 736 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 748 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 803 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
H A D | helperavx.h | 43 static INLINE vdouble vcast_vd_d(double d) in vcast_vd_d() function 492 vmask m = vmask_lt(d, vcast_vd_d(4.9090934652977266E-91)); in vilogbp1() 493 d = vsel(m, vmul(vcast_vd_d(2.037035976334486E90), d), d); in vilogbp1() 494 c = _mm256_cvtpd_epi32(vsel(m, vcast_vd_d(300 + 0x3fe), vcast_vd_d(0x3fe))); in vilogbp1()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/ |
H A D | sleefsseavx.c | 473 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(M_PI), … in xatan2() 548 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 563 x = vsel(vmask_gt(vcast_vd_d(0), d), vcast_vd_d(NAN), x); in xlog() 692 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 745 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 757 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 812 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() 813 y = vsel(vmask_lt(x, vcast_vd_d(1.0)), vcast_vd_d(NAN), y); in xacosh() 822 …el(vmask_gt(y, vcast_vd_d(1.0)), vcast_vd_d(NAN), vsel(vmask_eq(y, vcast_vd_d(1.0)), vcast_vd_d(IN… in xatanh() 892 x = vsel(vmask_gt(vcast_vd_d(0), a), vcast_vd_d(NAN), x); in xlog10() [all …]
|
H A D | helperavx.h | 43 static INLINE vdouble vcast_vd_d(double d) in vcast_vd_d() function 492 vmask m = vmask_lt(d, vcast_vd_d(4.9090934652977266E-91)); in vilogbp1() 493 d = vsel(m, vmul(vcast_vd_d(2.037035976334486E90), d), d); in vilogbp1() 494 c = _mm256_cvtpd_epi32(vsel(m, vcast_vd_d(300 + 0x3fe), vcast_vd_d(0x3fe))); in vilogbp1()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/include/ |
H A D | sleefsseavx.c | 252 e = vsel(vmask_eq(d, vcast_vd_d(0)), vcast_vd_d(-2147483648.0), e); in xilogb() 464 …r = vsel(vmask_eq(y, vcast_vd_d(0)), vsel(vmask_eq(vsign(x), vcast_vd_d(-1.0)), vcast_vd_d(librtpr… in xatan2() 499 s = vsel(vmask_lt(vcast_vd_d(1), s), vdiv(vcast_vd_d(1), s), s); in xatan() 539 x = vdiv(vadd(vcast_vd_d(-1), m), vadd(vcast_vd_d(1), m)); in xlog() 596 x = div_dd(add2_ss(vcast_vd_d(-1), m), add2_ss(vcast_vd_d(1), m)); in logk() 683 …result = vsel(vorm(vmask_eq(y, vcast_vd_d(0)), vmask_eq(x, vcast_vd_d(1))), vcast_vd_d(1), result); in xpow() 724 d = add2_dd(d, div_dd(dd(vcast_vd_d(-1), vcast_vd_d(0)), d)); in xsinh() 736 d = add2_dd(d, div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d)); in xcosh() 748 vdouble2 e = div_dd(dd(vcast_vd_d(1), vcast_vd_d(0)), d); in xtanh() 803 y = vsel(vmask_eq(x, vcast_vd_d(1.0)), vcast_vd_d(0.0), y); in xacosh() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/atan2/ |
H A D | atan2_d_vec.h | 27 const vdouble pi = vcast_vd_d(PI); in atan2_d_vec() 65 const vdouble D2 = vcast_vd_d(C2); in atan2_d_vec() 66 const vdouble D3 = vcast_vd_d(C3); in atan2_d_vec() 67 const vdouble D4 = vcast_vd_d(C4); in atan2_d_vec() 68 const vdouble D5 = vcast_vd_d(C5); in atan2_d_vec() 69 const vdouble D6 = vcast_vd_d(C6); in atan2_d_vec() 70 const vdouble D7 = vcast_vd_d(C7); in atan2_d_vec() 71 const vdouble D8 = vcast_vd_d(C8); in atan2_d_vec() 72 const vdouble D9 = vcast_vd_d(C9); in atan2_d_vec() 73 const vdouble D10 = vcast_vd_d(C10); in atan2_d_vec() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/atan/ |
H A D | atan_d_vec.h | 42 const vdouble D2 = vcast_vd_d(C2); in atan_d_vec() 43 const vdouble D3 = vcast_vd_d(C3); in atan_d_vec() 44 const vdouble D4 = vcast_vd_d(C4); in atan_d_vec() 45 const vdouble D5 = vcast_vd_d(C5); in atan_d_vec() 46 const vdouble D6 = vcast_vd_d(C6); in atan_d_vec() 47 const vdouble D7 = vcast_vd_d(C7); in atan_d_vec() 48 const vdouble D8 = vcast_vd_d(C8); in atan_d_vec() 49 const vdouble D9 = vcast_vd_d(C9); in atan_d_vec() 50 const vdouble D10 = vcast_vd_d(C10); in atan_d_vec() 51 const vdouble D11 = vcast_vd_d(C11); in atan_d_vec() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/sincos/ |
H A D | fd_sincos_vector.cpp | 114 S(ks = vfma_vd_vd_vd_vd(x, vcast_vd_d(_1_OVER_PI), vcast_vd_d(6755399441055744.0));) in FCN_NAME() 118 C(kc = vfma_vd_vd_vd_vd(x, vcast_vd_d(_1_OVER_PI), vcast_vd_d(-0.5));) in FCN_NAME() 122 C(kc = vadd_vd_vd_vd(kc, vcast_vd_d(0.5));) in FCN_NAME() 150 S(rs = vfma_vd_vd_vd_vd(vcast_vd_d(A_D), ss, vcast_vd_d(B_D));) in FCN_NAME() 151 C(rc = vfmapn_vd_vd_vd_vd(vcast_vd_d(-A_D), sc, vcast_vd_d(B_D));) in FCN_NAME() 153 S(rs = vfma_vd_vd_vd_vd(rs, ss, vcast_vd_d(C_D));) in FCN_NAME() 156 S(rs = vfma_vd_vd_vd_vd(rs, ss, vcast_vd_d(D_D));) in FCN_NAME() 159 S(rs = vfma_vd_vd_vd_vd(rs, ss, vcast_vd_d(E_D));) in FCN_NAME() 162 S(rs = vfma_vd_vd_vd_vd(rs, ss, vcast_vd_d(F_D));) in FCN_NAME() 165 S(rs = vfma_vd_vd_vd_vd(rs, ss, vcast_vd_d(G_D));) in FCN_NAME() [all …]
|
/dports/math/sleef/sleef-3.5.0/src/quad/ |
H A D | sleefsimdqp.c | 379 return vd3setxyz_vd3_vd_vd_vd(vcast_vd_d(d0), vcast_vd_d(d1), vcast_vd_d(d2)); in vcast_vd3_d_d_d() 656 return vd2setxy_vd2_vd_vd(vcast_vd_d(dd.x), vcast_vd_d(dd.y)); in vcast_vd2_d2() 909 return vd3setxyz_vd3_vd_vd_vd(vcast_vd_d(td.x), vcast_vd_d(td.y), vcast_vd_d(td.z)); in vcast_vd3_d3() 1008 tdx r = tdxsetexyz_tdx_vm_vd_vd_vd(vilogbk_vm_vd(d), d, vcast_vd_d(0), vcast_vd_d(0)); in vcast_tdx_vd() 1053 …_vd3(o, vcast_vd3_vd_vd_vd(vmulsign_vd_vd_vd(vcast_vd_d(0), tdxgetd3x_vd_tdx(t)), vcast_vd_d(0), v… in vcast_vd3_tdx() 1056 …, vcast_vd3_vd_vd_vd(vmulsign_vd_vd_vd(vcast_vd_d(SLEEF_INFINITY), tdxgetd3x_vd_tdx(t)), vcast_vd_… in vcast_vd3_tdx() 1188 …vd_vd_vd(fr, vmul_vd_vd_vd(vcast_vd_d(0.25), vtruncate_vd_vd(vmla_vd_vd_vd_vd(fr, vcast_vd_d(4), v… in rempisub() 1297 vcast_vd_d(1)); in cos_tdx_tdx() 1806 tdadd2_vd3_vd_vd3(vsel_vd_vo_vd_vd(o, vcast_vd_d(2), vcast_vd_d(+1)), x)); in log1p_tdx_tdx() 2157 vcast_vd_d(HBZ * (ZSCALE/2)), vcast_vd_d(0)); in vcast_vf128_tdx_slow() [all …]
|
/dports/math/sleef/sleef-3.5.0/src/arch/ |
H A D | helperadvsimd.h | 431 return vdiv_vd_vd_vd(vcast_vd_d(1.0f), d); in vrec_vd_vd() 433 return vbslq_f64(vceqq_f64(vabs_vd_vd(d), vcast_vd_d(SLEEF_INFINITY)), in vrec_vd_vd() 434 vcast_vd_d(0), vdiv_vd_vd_vd(vcast_vd_d(1.0f), d)); in vrec_vd_vd() 446 x = vmul_vd_vd_vd(d, y); w = vmul_vd_vd_vd(vcast_vd_d(0.5), y); in vsqrt_vd_vd() 447 y = vfmanp_vd_vd_vd_vd(x, w, vcast_vd_d(0.5)); in vsqrt_vd_vd() 449 y = vfmanp_vd_vd_vd_vd(x, w, vcast_vd_d(0.5)); in vsqrt_vd_vd() 456 z = vfmanp_vd_vd_vd_vd(w, y, z); w = vmul_vd_vd_vd(vcast_vd_d(0.5), x); in vsqrt_vd_vd() 460 return vbslq_f64(vorrq_u64(vceqq_f64(d, vcast_vd_d(0)), in vsqrt_vd_vd() 461 vceqq_f64(d, vcast_vd_d(SLEEF_INFINITY))), d, w); in vsqrt_vd_vd() 492 return vsel_vd_vo_vd_vd(o, vcast_vd_d(v1), vcast_vd_d(v0)); in vsel_vd_vo_d_d() [all …]
|
H A D | helpersve.h | 711 static INLINE vdouble vcast_vd_d(double d) { return svdup_n_f64(d); } in vcast_vd_d() function 719 return vsel_vd_vo_vd_vd(o, vcast_vd_d(v1), vcast_vd_d(v0)); in vsel_vd_vo_d_d() 723 return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_d_d(o1, d1, d2)); in vsel_vd_vo_vo_d_d_d() 727 …return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_vd_vd(o1, vcast_vd_d(d1), vsel_vd_vo_d_d(o2… in vsel_vd_vo_vo_vo_d_d_d_d() 825 vcast_vd_d(0), vdiv_vd_vd_vd(vcast_vd_d(1.0f), d)); in vrec_vd_vd() 836 x = vmul_vd_vd_vd(d, y); w = vmul_vd_vd_vd(vcast_vd_d(0.5), y); in vsqrt_vd_vd() 837 y = vfmanp_vd_vd_vd_vd(x, w, vcast_vd_d(0.5)); in vsqrt_vd_vd() 839 y = vfmanp_vd_vd_vd_vd(x, w, vcast_vd_d(0.5)); in vsqrt_vd_vd() 846 z = vfmanp_vd_vd_vd_vd(w, y, z); w = vmul_vd_vd_vd(vcast_vd_d(0.5), x); in vsqrt_vd_vd() 850 return svsel_f64(svorr_b_z(ptrue, svcmpeq_f64(ptrue, d, vcast_vd_d(0)), in vsqrt_vd_vd() [all …]
|
H A D | helpers390x_128.h | 121 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d }; } in vcast_vd_d() function 265 return vsel_vd_vo_vd_vd(o, vcast_vd_d(v1), vcast_vd_d(v0)); in vsel_vd_vo_d_d() 269 return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_d_d(o1, d1, d2)); in vsel_vd_vo_vo_d_d_d() 273 …return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_vd_vd(o1, vcast_vd_d(d1), vsel_vd_vo_d_d(o2… in vsel_vd_vo_vo_vo_d_d_d_d() 314 …sk visinf_vo_vd(vdouble d) { return (vopmask)(vec_cmpeq(vabs_vd_vd(d), vcast_vd_d(SLEEF_INFINITY))… in visinf_vo_vd() 315 static INLINE vopmask vispinf_vo_vd(vdouble d) { return (vopmask)(vec_cmpeq(d, vcast_vd_d(SLEEF_INF… in vispinf_vo_vd() 316 static INLINE vopmask visminf_vo_vd(vdouble d) { return (vopmask)(vec_cmpeq(d, vcast_vd_d(-SLEEF_IN… in visminf_vo_vd()
|
H A D | helpervecext.h | 78 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d }; } in vcast_vd_d() function 127 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d, d, d }; } in vcast_vd_d() function 166 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d, d, d, d, d, d, d }; } in vcast_vd_d() function 219 static INLINE vdouble vcast_vd_d(double d) { in vcast_vd_d() function 465 return vsel_vd_vo_vd_vd(o, vcast_vd_d(v1), vcast_vd_d(v0)); in vsel_vd_vo_d_d() 469 return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_d_d(o1, d1, d2)); in vsel_vd_vo_vo_d_d_d() 473 …return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_vd_vd(o1, vcast_vd_d(d1), vsel_vd_vo_d_d(o2… in vsel_vd_vo_vo_vo_d_d_d_d() 529 static INLINE vdouble vabs_vd_vd(vdouble d) { return (vdouble)((vmask)d & ~(vmask)vcast_vd_d(-0.0))… in vabs_vd_vd() 601 vdouble q = vcast_vd_d(1); in vsqrt_vd_vd() 606 q = (vdouble)((o & (vmask)vcast_vd_d(2.9387358770557188E-39)) | (~o & (vmask)vcast_vd_d(1))); in vsqrt_vd_vd() [all …]
|
/dports/lang/pocl/pocl-1.8/lib/kernel/sleef/arch/ |
H A D | helpervecext.h | 80 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d }; } in vcast_vd_d() function 129 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d, d, d }; } in vcast_vd_d() function 168 static INLINE vdouble vcast_vd_d(double d) { return (vdouble) { d, d, d, d, d, d, d, d }; } in vcast_vd_d() function 221 static INLINE vdouble vcast_vd_d(double d) { in vcast_vd_d() function 467 return vsel_vd_vo_vd_vd(o, vcast_vd_d(v1), vcast_vd_d(v0)); in vsel_vd_vo_d_d() 471 return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_d_d(o1, d1, d2)); in vsel_vd_vo_vo_d_d_d() 475 …return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_vd_vd(o1, vcast_vd_d(d1), vsel_vd_vo_d_d(o2… in vsel_vd_vo_vo_vo_d_d_d_d() 531 static INLINE vdouble vabs_vd_vd(vdouble d) { return (vdouble)((vmask)d & ~(vmask)vcast_vd_d(-0.0))… in vabs_vd_vd() 603 vdouble q = vcast_vd_d(1); in vsqrt_vd_vd() 608 q = (vdouble)((o & (vmask)vcast_vd_d(2.9387358770557188E-39)) | (~o & (vmask)vcast_vd_d(1))); in vsqrt_vd_vd() [all …]
|
H A D | helperadvsimd.h | 305 static INLINE vdouble vcast_vd_d(double f) { return vdupq_n_f64(f); } in vcast_vd_d() function 318 return vdivq_f64(vcast_vd_d(1.0f), d); in vrec_vd_vd() 410 return vsel_vd_vo_vd_vd(o, vcast_vd_d(v1), vcast_vd_d(v0)); in vsel_vd_vo_d_d() 414 return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_d_d(o1, d1, d2)); in vsel_vd_vo_vo_d_d_d() 418 …return vsel_vd_vo_vd_vd(o0, vcast_vd_d(d0), vsel_vd_vo_vd_vd(o1, vcast_vd_d(d1), vsel_vd_vo_d_d(o2… in vsel_vd_vo_vo_vo_d_d_d_d()
|