mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
cppcheck-suppress unsignedLessThanZero
This commit is contained in:
parent
76e059bab8
commit
47cd90aaa7
@ -127,6 +127,7 @@ static really_really_inline
|
|||||||
m128 lshift64_m128(m128 a, unsigned b) {
|
m128 lshift64_m128(m128 a, unsigned b) {
|
||||||
#if defined(HAVE__BUILTIN_CONSTANT_P)
|
#if defined(HAVE__BUILTIN_CONSTANT_P)
|
||||||
if (__builtin_constant_p(b)) {
|
if (__builtin_constant_p(b)) {
|
||||||
|
// cppcheck-suppress unsignedLessThanZero
|
||||||
return _mm_slli_epi64(a, b);
|
return _mm_slli_epi64(a, b);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user