/dports/lang/pocl/pocl-1.8/lib/kernel/sleef/libm/ |
H A D | sleefsimdsp.c | 294 vcast_vf_f(2), vcast_vf_f(1)); in xcosf_u1() 303 vcast_vf_f(2), vcast_vf_f(1)); in xcosf_u1() 816 vmul_vf_vf_vf(vsub_vf_vf_vf(vcast_vf_f(1), vabs_vf_vf(d)), vcast_vf_f(0.5f))), u; in xacosf() 818 x = vsel_vf_vo_vf_vf(veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(1.0f)), vcast_vf_f(0), x); in xacosf() 1250 vcast_vf_f(1), in xpowf() 1251 …vsel_vf_vo_vf_vf(yisint, vsel_vf_vo_vf_vf(yisodd, vcast_vf_f(-1.0f), vcast_vf_f(1)), vcast_vf_f(SL… in xpowf() 1270 … vsel_vf_vo_vf_vf(vor_vo_vo_vo(veq_vo_vf_vf(y, vcast_vf_f(0)), veq_vo_vf_vf(x, vcast_vf_f(1))), vc… in xpowf() 1795 …o_vf_vf(vand_vo_vo_vo(vle_vo_vf_vf(x, vcast_vf_f(0)), veq_vo_vf_vf(fr, vcast_vf_f(0))), vsub_vf_vf… in xroundf() 1857 d = vsel_vf_vo_vf_vf(vlt_vo_vf_vf(d, vcast_vf_f(0)), vcast_vf_f(SLEEF_NANf), d); in xsqrtf_u05() 1861 q = vsel_vf_vo_vf_vf(o, vcast_vf_f(7.2759576141834260e-12f*0.5f), vcast_vf_f(0.5f)); in xsqrtf_u05() [all …]
|
H A D | df.h | 20 vfloat2 ret = {vcast_vf_f(h), vcast_vf_f(l)}; in vcast_vf2_f_f() 25 vfloat2 ret = {vcast_vf_f(d), vcast_vf_f(d - (float)d)}; in vcast_vf2_d() 234 q.y = vfmanp_vf_vf_vf_vf(d.y, t, vfmanp_vf_vf_vf_vf(d.x, t, vcast_vf_f(1))); in dfdiv_vf2_vf2_vf2() 288 q.y = vmul_vf_vf_vf(q.x, vfmanp_vf_vf_vf_vf(d, q.x, vcast_vf_f(1))); in dfrec_vf2_vf() 297 …q.y = vmul_vf_vf_vf(q.x, vfmanp_vf_vf_vf_vf(d.y, q.x, vfmanp_vf_vf_vf_vf(d.x, q.x, vcast_vf_f(1)))… in dfrec_vf2_vf2() 313 w = vcast_vf_f(-1); in dfdiv_vf2_vf2_vf2() 422 vfloat u = vcast_vf_f(-1); in dfrec_vf2_vf() 440 vfloat u = vcast_vf_f(-1); in dfrec_vf2_vf2() 456 …mul_vf2_vf2_vf2(r, dfadd2_vf2_vf2_vf(dfmul_vf2_vf2_vf(r, x), vcast_vf_f(-3.0))), vcast_vf_f(-0.5)); in dfsqrt_vf2_vf2() 459 …dfmul_vf2_vf2_vf2(dfadd2_vf2_vf2_vf2(d, dfmul_vf2_vf_vf(t, t)), dfrec_vf2_vf(t)), vcast_vf_f(0.5)); in dfsqrt_vf2_vf2() [all …]
|
/dports/math/sleef/sleef-3.5.0/src/libm/ |
H A D | sleefsimdsp.c | 642 …_vf(vgt_vo_vf_vf(vf2getx_vf_vf2(dfigetdf_vf2_dfi(dfi)), vcast_vf_f(0)), vcast_vf_f(0), vcast_vf_f(… in xcosf() 953 vcast_vf_f(2), vcast_vf_f(1)); in xcosf_u1() 964 …_vf(vgt_vo_vf_vf(vf2getx_vf_vf2(dfigetdf_vf2_dfi(dfi)), vcast_vf_f(0)), vcast_vf_f(0), vcast_vf_f(… in xcosf_u1() 1000 vcast_vf_f(2), vcast_vf_f(1)); in xcosf_u1() 1013 …_vf(vgt_vo_vf_vf(vf2getx_vf_vf2(dfigetdf_vf2_dfi(dfi)), vcast_vf_f(0)), vcast_vf_f(0), vcast_vf_f(… in xcosf_u1() 1071 s = vmla_vf_vf_vf_vf(d, vcast_vf_f((float)M_1_PI), vcast_vf_f(-0.5f)); in xfastcosf_u3500() 2254 vcast_vf_f(1), in xpowf() 2255 …vsel_vf_vo_vf_vf(yisint, vsel_vf_vo_vf_vf(yisodd, vcast_vf_f(-1.0f), vcast_vf_f(1)), vcast_vf_f(SL… in xpowf() 3072 vcast_vf_f(2), q); in xfmodf() 3075 vcast_vf_f(1), q); in xfmodf() [all …]
|
H A D | df.h | 27 return vf2setxy_vf2_vf_vf(vcast_vf_f(h), vcast_vf_f(l)); in vcast_vf2_f_f() 31 return vf2setxy_vf2_vf_vf(vcast_vf_f(d), vcast_vf_f(d - (float)d)); in vcast_vf2_d() 183 … vfmanp_vf_vf_vf_vf(vf2gety_vf_vf2(d), t, vfmanp_vf_vf_vf_vf(vf2getx_vf_vf2(d), t, vcast_vf_f(1))); in dfdiv_vf2_vf2_vf2() 217 return vf2setxy_vf2_vf_vf(s, vmul_vf_vf_vf(s, vfmanp_vf_vf_vf_vf(d, s, vcast_vf_f(1)))); in dfrec_vf2_vf() 222 …fmanp_vf_vf_vf_vf(vf2gety_vf_vf2(d), s, vfmanp_vf_vf_vf_vf(vf2getx_vf_vf2(d), s, vcast_vf_f(1))))); in dfrec_vf2_vf2() 234 w = vcast_vf_f(-1); in dfdiv_vf2_vf2_vf2() 326 vfloat u = vcast_vf_f(-1); in dfrec_vf2_vf() 340 vfloat u = vcast_vf_f(-1); in dfrec_vf2_vf2() 355 …mul_vf2_vf2_vf2(r, dfadd2_vf2_vf2_vf(dfmul_vf2_vf2_vf(r, x), vcast_vf_f(-3.0))), vcast_vf_f(-0.5)); in dfsqrt_vf2_vf2() 358 …dfmul_vf2_vf2_vf2(dfadd2_vf2_vf2_vf2(d, dfmul_vf2_vf_vf(t, t)), dfrec_vf2_vf(t)), vcast_vf_f(0.5)); in dfsqrt_vf2_vf2() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/atan2f/ |
H A D | atan2_vec.h | 25 const vfloat pi_over_4 = vcast_vf_f(PI_OVER_4); in atan2_vec() 26 const vfloat pi_2 = vcast_vf_f(PI_OVER_2); in atan2_vec() 27 const vfloat pi = vcast_vf_f(PI); in atan2_vec() 61 const vfloat D1 = vcast_vf_f(C1); in atan2_vec() 62 const vfloat D2 = vcast_vf_f(C2); in atan2_vec() 63 const vfloat D3 = vcast_vf_f(C3); in atan2_vec() 64 const vfloat D4 = vcast_vf_f(C4); in atan2_vec() 65 const vfloat D5 = vcast_vf_f(C5); in atan2_vec() 66 const vfloat D6 = vcast_vf_f(C6); in atan2_vec() 67 const vfloat D7 = vcast_vf_f(C7); in atan2_vec() [all …]
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | sleefsseavx.h | 967 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1147 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1205 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1239 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1251 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1252 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1264 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf1() 1288 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1300 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1301 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() [all …]
|
/dports/astro/siril/siril/src/rt/ |
H A D | sleefsseavx.c | 969 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1149 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1207 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1241 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1253 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1254 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1266 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf1() 1290 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1302 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1303 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | sleefsseavx.c | 966 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1146 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1204 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1238 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1250 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1251 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1263 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf1() 1287 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1299 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1300 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() [all …]
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/ |
H A D | sleefsseavx.c | 976 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1154 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1212 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1246 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1258 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1259 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1271 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1283 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1284 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() 1296 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogfNoCheck() [all …]
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/ |
H A D | sleefsseavx.c | 1034 q = vrint_vi2_vf(vsubf(vmulf(d, vcast_vf_f((float)M_1_PI)), vcast_vf_f(0.5f))); in xcosf() 1153 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1211 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1245 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1257 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1258 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1270 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1282 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1283 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() 1295 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogfNoCheck() [all …]
|
/dports/graphics/librtprocess/librtprocess-0.11.0/src/include/ |
H A D | sleefsseavx.c | 966 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1027 q = vrint_vi2_vf(vsubf(vmulf(d, vcast_vf_f((float)librtprocess::RT_1_PI)), vcast_vf_f(0.5f))); in xcosf() 1146 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1204 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1238 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1250 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1251 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1263 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1275 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1276 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() [all …]
|
/dports/astro/siril/siril/subprojects/librtprocess/src/include/ |
H A D | sleefsseavx.h | 971 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1032 q = vrint_vi2_vf(vsubf(vmulf(d, vcast_vf_f((float)librtprocess::RT_1_PI)), vcast_vf_f(0.5f))); in xcosf() 1151 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1209 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1243 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1255 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1256 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1268 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1280 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1281 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() [all …]
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/include/ |
H A D | sleefsseavx.c | 966 return (vfloat)vorm((vmask)vcast_vf_f(1.0f), vandm((vmask)vcast_vf_f(-0.0f), (vmask)f)); in vsignf() 1027 q = vrint_vi2_vf(vsubf(vmulf(d, vcast_vf_f((float)librtprocess::RT_1_PI)), vcast_vf_f(0.5f))); in xcosf() 1146 s = vself(vmaskf_lt(vcast_vf_f(1.0f), s), vdivf(vcast_vf_f(1.0f), s), s); in xatanf() 1204 …r = vself(vmaskf_eq(y, vcast_vf_f(0.0f)), vselfzero(vmaskf_eq(vsignf(x), vcast_vf_f(-1.0f)), vcast… in xatan2f() 1238 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf() 1250 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(NANf), x); in xlogf() 1251 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(-INFINITYf), x); in xlogf() 1263 x = vdivf(vaddf(vcast_vf_f(-1.0f), m), vaddf(vcast_vf_f(1.0f), m)); in xlogf0() 1275 x = vself(vmaskf_gt(vcast_vf_f(0), d), vcast_vf_f(0), x); in xlogf0() 1276 x = vself(vmaskf_eq(d, vcast_vf_f(0)), vcast_vf_f(0), x); in xlogf0() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/atanf/ |
H A D | atan_vec.h | 24 vfloat D1 = vcast_vf_f(C1); in atan_vec() 25 vfloat D2 = vcast_vf_f(C2); in atan_vec() 26 vfloat D3 = vcast_vf_f(C3); in atan_vec() 27 vfloat D4 = vcast_vf_f(C4); in atan_vec() 28 vfloat D5 = vcast_vf_f(C5); in atan_vec() 29 vfloat D6 = vcast_vf_f(C6); in atan_vec() 30 vfloat D7 = vcast_vf_f(C7); in atan_vec() 31 vfloat D8 = vcast_vf_f(C8); in atan_vec() 38 vreinterpret_vm_vf(vcast_vf_f(AbsMask_as_float)))); in atan_vec() 45 vopmask x_big = vgt_vo_vf_vf(xAbs, vcast_vf_f(1.0f)); in atan_vec() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/sincosf/ |
H A D | fs_sincos_vector.cpp | 234 S(ks = vfma_vf_vf_vf_vf(x, vcast_vf_f(_1_OVER_PI_F), vcast_vf_f(12582912.0f));) in FCN_NAME() 242 C(kc = vfma_vf_vf_vf_vf(xabs, vcast_vf_f(_1_OVER_PI_F), vcast_vf_f(-0.5f));) in FCN_NAME() 247 C(kc = vadd_vf_vf_vf(kc, vcast_vf_f(0.5f));) in FCN_NAME() 285 S(rs = vcast_vf_f(A_F);) in FCN_NAME() 286 C(rc = vcast_vf_f(-A_F);) in FCN_NAME() 288 S(rs = vfma_vf_vf_vf_vf(rs, ss, vcast_vf_f(B_F));) in FCN_NAME() 291 S(rs = vfma_vf_vf_vf_vf(rs, ss, vcast_vf_f(C_F));) in FCN_NAME() 294 S(rs = vfma_vf_vf_vf_vf(rs, ss, vcast_vf_f(D_F));) in FCN_NAME() 297 S(rs = vfma_vf_vf_vf_vf(rs, ss, vcast_vf_f(E_F));) in FCN_NAME() 303 S(ts = vfma_vf_vf_vf_vf(ss, fs, vcast_vf_f(0.0));) in FCN_NAME() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/tanf/ |
H A D | tan_f_vec.h | 144 r = vcast_vf_f(A_F); in __tan_kernel() 145 r = vfma_vf_vf_vf_vf(r, s, vcast_vf_f(B_F)); in __tan_kernel() 146 r = vfma_vf_vf_vf_vf(r, s, vcast_vf_f(C_F)); in __tan_kernel() 147 r = vfma_vf_vf_vf_vf(r, s, vcast_vf_f(D_F)); in __tan_kernel() 148 r = vfma_vf_vf_vf_vf(r, s, vcast_vf_f(E_F)); in __tan_kernel() 149 r = vfma_vf_vf_vf_vf(r, s, vcast_vf_f(F_F)); in __tan_kernel() 153 rd = vdiv_vf_vf_vf(vcast_vf_f(-1.0f), r); in __tan_kernel() 168 k = vfma_vf_vf_vf_vf(x, vcast_vf_f(_2_OVER_PI_F), vcast_vf_f(12582912.0f)); in __tan_f_vec() 170 k = vsub_vf_vf_vf(k, vcast_vf_f(12582912.0f)); in __tan_f_vec() 172 a = vfma_vf_vf_vf_vf(k, vcast_vf_f(-PI_2_HI_F), x); in __tan_f_vec() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/log10f/ |
H A D | log10_vec_legacy.h | 57 vopmask zer_mask = veq_vo_vf_vf(vcast_vf_f(0.0f), a_input); in log10_vec() 60 vfloat inf_out = vcast_vf_f(PINF); in log10_vec() 61 vfloat neg_out = vcast_vf_f(CANONICAL_NAN); in log10_vec() 62 vfloat zer_out = vcast_vf_f(NINF); in log10_vec() 65 vfloat a2p24 = vmul_vf_vf_vf(a_input, vcast_vf_f(TWO_TO_24_F)); in log10_vec()
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/logf/ |
H A D | log_vec.h | 60 vopmask zer_mask = veq_vo_vf_vf(vcast_vf_f(0.0f), a_input); in log_vec() 63 vfloat inf_out = vcast_vf_f(PINF); in log_vec() 64 vfloat neg_out = vcast_vf_f(CANONICAL_NAN); in log_vec() 65 vfloat zer_out = vcast_vf_f(NINF); in log_vec() 68 vfloat a2p24 = vmul_vf_vf_vf(a_input, vcast_vf_f(TWO_TO_24_F)); in log_vec()
|
/dports/lang/pocl/pocl-1.8/lib/kernel/sleef/arch/ |
H A D | helperneon32.h | 96 static INLINE vfloat vcast_vf_f(float f) { return vdupq_n_f32(f); } in vcast_vf_f() function 182 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 186 return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_f_f(o1, d1, d2)); in vsel_vf_vo_vo_f_f_f() 190 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 193 static INLINE vopmask visinf_vo_vf(vfloat d) { return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(SLEEF_… in visinf_vo_vf() 194 static INLINE vopmask vispinf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(SLEEF_INFINITYf))… in vispinf_vo_vf() 195 static INLINE vopmask visminf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(-SLEEF_INFINITYf)… in visminf_vo_vf() 207 return vcast_f_vf(vadd_vf_vf_vf(vcast_vf_f(name), vcast_vf_f(name))) != 0.0; in vavailability_i()
|
H A D | helpersse2.h | 281 static INLINE vfloat vcast_vf_f(float f) { return _mm_set1_ps(f); } in vcast_vf_f() function 297 static INLINE vfloat vrec_vf_vf(vfloat x) { return vdiv_vf_vf_vf(vcast_vf_f(1.0f), x); } in vrec_vf_vf() 299 …oat f) { return vreinterpret_vf_vm(vandnot_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vabs_vf_vf() 300 …vfloat d) { return vreinterpret_vf_vm(vxor_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vneg_vf_vf() 363 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 367 return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_f_f(o1, d1, d2)); in vsel_vf_vo_vo_f_f_f() 371 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 374 static INLINE vopmask visinf_vo_vf(vfloat d) { return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(SLEEF_… in visinf_vo_vf() 375 static INLINE vopmask vispinf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(SLEEF_INFINITYf))… in vispinf_vo_vf() 376 static INLINE vopmask visminf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(-SLEEF_INFINITYf)… in visminf_vo_vf()
|
H A D | helperavx2.h | 260 static INLINE vfloat vcast_vf_f(float f) { return _mm256_set1_ps(f); } in vcast_vf_f() function 272 static INLINE vfloat vrec_vf_vf(vfloat x) { return vdiv_vf_vf_vf(vcast_vf_f(1.0f), x); } in vrec_vf_vf() 274 …oat f) { return vreinterpret_vf_vm(vandnot_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vabs_vf_vf() 275 …vfloat d) { return vreinterpret_vf_vm(vxor_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vneg_vf_vf() 325 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 329 return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_f_f(o1, d1, d2)); in vsel_vf_vo_vo_f_f_f() 333 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 336 static INLINE vopmask visinf_vo_vf(vfloat d) { return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(SLEEF_… in visinf_vo_vf() 337 static INLINE vopmask vispinf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(SLEEF_INFINITYf))… in vispinf_vo_vf() 338 static INLINE vopmask visminf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(-SLEEF_INFINITYf)… in visminf_vo_vf()
|
/dports/math/sleef/sleef-3.5.0/src/arch/ |
H A D | helperneon32.h | 108 static INLINE vfloat vcast_vf_f(float f) { return vdupq_n_f32(f); } in vcast_vf_f() function 231 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 235 return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_f_f(o1, d1, d2)); in vsel_vf_vo_vo_f_f_f() 239 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 242 static INLINE vopmask visinf_vo_vf(vfloat d) { return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(SLEEF_… in visinf_vo_vf() 243 static INLINE vopmask vispinf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(SLEEF_INFINITYf))… in vispinf_vo_vf() 244 static INLINE vopmask visminf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(-SLEEF_INFINITYf)… in visminf_vo_vf() 256 return vcast_f_vf(vadd_vf_vf_vf(vcast_vf_f(name), vcast_vf_f(name))) != 0.0; in vavailability_i()
|
H A D | helperadvsimd.h | 218 return vdiv_vf_vf_vf(vcast_vf_f(1.0f), d); in vrec_vf_vf() 220 return vbslq_f32(vceqq_f32(vabs_vf_vf(d), vcast_vf_f(SLEEF_INFINITYf)), in vrec_vf_vf() 221 vcast_vf_f(0), vdiv_vf_vf_vf(vcast_vf_f(1.0f), d)); in vrec_vf_vf() 234 y = vfmanp_vf_vf_vf_vf(x, w, vcast_vf_f(0.5)); in vsqrt_vf_vf() 245 return vbslq_f32(vorrq_u32(vceqq_f32(d, vcast_vf_f(0)), in vsqrt_vf_vf() 246 vceqq_f32(d, vcast_vf_f(SLEEF_INFINITYf))), d, w); in vsqrt_vf_vf() 597 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 605 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 637 return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(SLEEF_INFINITYf)); in visinf_vo_vf() 640 return veq_vo_vf_vf(d, vcast_vf_f(SLEEF_INFINITYf)); in vispinf_vo_vf() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/common/ |
H A D | helperavx2.h | 267 static INLINE vfloat vcast_vf_f(float f) { return _mm256_set1_ps(f); } in vcast_vf_f() function 279 static INLINE vfloat vrec_vf_vf(vfloat x) { return vdiv_vf_vf_vf(vcast_vf_f(1.0f), x); } in vrec_vf_vf() 281 …oat f) { return vreinterpret_vf_vm(vandnot_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vabs_vf_vf() 282 …vfloat d) { return vreinterpret_vf_vm(vxor_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vneg_vf_vf() 338 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 342 return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_f_f(o1, d1, d2)); in vsel_vf_vo_vo_f_f_f() 346 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 349 static INLINE vopmask visinf_vo_vf(vfloat d) { return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(INFINI… in visinf_vo_vf() 350 static INLINE vopmask vispinf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(INFINITYf)); } in vispinf_vo_vf() 351 static INLINE vopmask visminf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(-INFINITYf)); } in visminf_vo_vf()
|
H A D | helperavx2_128.h | 247 static INLINE vfloat vcast_vf_f(float f) { return _mm_set1_ps(f); } in vcast_vf_f() function 259 static INLINE vfloat vrec_vf_vf(vfloat x) { return vdiv_vf_vf_vf(vcast_vf_f(1.0f), x); } in vrec_vf_vf() 261 …oat f) { return vreinterpret_vf_vm(vandnot_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vabs_vf_vf() 262 …vfloat d) { return vreinterpret_vf_vm(vxor_vm_vm_vm(vreinterpret_vm_vf(vcast_vf_f(-0.0f)), vreinte… in vneg_vf_vf() 316 return vsel_vf_vo_vf_vf(o, vcast_vf_f(v1), vcast_vf_f(v0)); in vsel_vf_vo_f_f() 320 return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_f_f(o1, d1, d2)); in vsel_vf_vo_vo_f_f_f() 324 …return vsel_vf_vo_vf_vf(o0, vcast_vf_f(d0), vsel_vf_vo_vf_vf(o1, vcast_vf_f(d1), vsel_vf_vo_f_f(o2… in vsel_vf_vo_vo_vo_f_f_f_f() 327 static INLINE vopmask visinf_vo_vf(vfloat d) { return veq_vo_vf_vf(vabs_vf_vf(d), vcast_vf_f(INFINI… in visinf_vo_vf() 328 static INLINE vopmask vispinf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(INFINITYf)); } in vispinf_vo_vf() 329 static INLINE vopmask visminf_vo_vf(vfloat d) { return veq_vo_vf_vf(d, vcast_vf_f(-INFINITYf)); } in visminf_vo_vf()
|