Searched refs:glm_ivec4 (Results 1 – 3 of 3) sorted by relevance
87 GLM_FUNC_QUALIFIER glm_ivec4 glm_ivec4_abs(glm_ivec4 x) in glm_ivec4_abs()92 glm_ivec4 const sgn0 = _mm_srai_epi32(x, 31); in glm_ivec4_abs()93 glm_ivec4 const inv0 = _mm_xor_si128(x, sgn0); in glm_ivec4_abs()94 glm_ivec4 const sub0 = _mm_sub_epi32(inv0, sgn0); in glm_ivec4_abs()221 glm_ivec4 const t1 = _mm_castps_si128(x); // reinterpret as 32-bit integer in glm_vec4_nan()222 glm_ivec4 const t2 = _mm_sll_epi32(t1, _mm_cvtsi32_si128(1)); // shift out sign bit in glm_vec4_nan()223 glm_ivec4 const t3 = _mm_set1_epi32(0xFF000000); // exponent mask in glm_vec4_nan()224 glm_ivec4 const t4 = _mm_and_si128(t2, t3); // exponent in glm_vec4_nan()225 glm_ivec4 const t5 = _mm_andnot_si128(t3, t2); // fraction in glm_vec4_nan()226 glm_ivec4 const Equal = _mm_cmpeq_epi32(t3, t4); in glm_vec4_nan()[all …]
441 typedef __m128i glm_ivec4; typedef
46 typedef glm_ivec4 type;