mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 19:47:43 +03:00
use correct intrinsic for lshiftbyte_m128
This commit is contained in:
@@ -196,7 +196,7 @@ m128 rshiftbyte_m128(const m128 a, int count_immed) {
|
|||||||
}
|
}
|
||||||
#undef CASE_RSHIFT_VECTOR
|
#undef CASE_RSHIFT_VECTOR
|
||||||
|
|
||||||
#define CASE_LSHIFT_VECTOR(a, count) case count: return _mm_srli_si128((m128)(a), (count)); break;
|
#define CASE_LSHIFT_VECTOR(a, count) case count: return _mm_slli_si128((m128)(a), (count)); break;
|
||||||
|
|
||||||
static really_inline
|
static really_inline
|
||||||
m128 lshiftbyte_m128(const m128 a, int count_immed) {
|
m128 lshiftbyte_m128(const m128 a, int count_immed) {
|
||||||
|
Reference in New Issue
Block a user