search for: _mm_srli_epi32

Displaying 2 results from an estimated 2 matches for "_mm_srli_epi32".

Did you mean: _mm_srai_epi32
2009 Jan 31
2
[LLVMdev] Optimized code analysis problems
...128i*)Yc; __m128i XMM5 = _mm_cvtsi32_si128(S_BITS + 3) ; XMM2 = _mm_set1_epi32(S_BITS + 2); for (int l = 0; l < 8; l++) { XMM1 = _mm_loadu_si128(xmm1++); XMM3 = _mm_add_epi32(XMM1, XMM2); XMM1 = _mm_cmplt_epi32(XMM1, _mm_setzero_si128()); XMM1 = _mm_srli_epi32(XMM1, 31); XMM3 = _mm_sub_epi32(XMM3, XMM1); XMM3 = _mm_srl_epi32(XMM3, XMM5); XMM1 = _mm_loadu_si128(xmm1++); XMM4 = _mm_add_epi32(XMM1, XMM2); XMM1 = _mm_cmplt_epi32(XMM1, _mm_setzero_si128()); XMM1 = _mm_srli_epi32(XMM1, 31); XMM4...
2014 Oct 13
2
[LLVMdev] Unexpected spilling of vector register during lane extraction on some x86_64 targets
...int32_t(v[1] >> 0); case 3: return int32_t(v[1] >> 32); } assert(0); return -1; } #endif __m128 x[] = { (__m128){ .123f, .999f, .123f, .999f } }; __m128 r[1]; static const float table[3] = { 1.0, 2.0, 4.0, }; static __m128 testee( const __m128 x) { const __m128i iexp = _mm_sub_epi32(_mm_srli_epi32(_mm_castps_si128(x), 23), _mm_set1_epi32(127)); const __m128 s = _mm_or_ps( _mm_andnot_ps(_mm_castsi128_ps(_mm_set1_epi32(0xff << 23)), x), _mm_castsi128_ps(_mm_set1_epi32(0x7f << 23))); const __m128 exp = _mm_cvtepi32_ps(iexp); const __m128i quot = _mm_cvttps_epi32(_mm_d...