Searched refs:sqmag (Results 1 – 2 of 2) sorted by relevance
| /CafeSDK-2.12.13/system/src/lib/mtx/ |
| D | mtxVec.c | 365 f32 sqmag; in C_VECSquareMag() local 369 sqmag = (v->x * v->x) + (v->y * v->y) + (v->z * v->z); in C_VECSquareMag() 371 return sqmag; in C_VECSquareMag() 383 f32x2 V1_XY, V1_ZZ, sqmag; in PSVECSquareMag() local 396 sqmag = __PS_MADD(V1_ZZ, V1_ZZ, V1_XY); in PSVECSquareMag() 397 sqmag = __PS_SUM0(sqmag, V1_XY, V1_XY); in PSVECSquareMag() 399 return (f32)sqmag[0]; in PSVECSquareMag() 431 f32x2 sqmag, rmag; //dyz, dxy, in PSVECMag() local 443 sqmag = __PS_MADD(vzz, vzz, vxy); in PSVECMag() 447 sqmag = __PS_SUM0(sqmag, vxy, vxy); in PSVECMag() [all …]
|
| D | mtxVec_asm.s | 160 #define sqmag f1 macro 173 ps_madd sqmag, vzz, vzz, vxy 174 ps_sum0 sqmag, sqmag, vxy, vxy 182 #undef sqmag 233 #define sqmag f1 macro 253 ps_madd sqmag, vzz, vzz, vxy 256 ps_sum0 sqmag, sqmag, vxy, vxy 259 fcmpu cr0, sqmag, c_zero 263 frsqrte rmag, sqmag 273 fnmsubs nwork0, nwork0, sqmag, c_three [all …]
|