mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
suppress warning ARM64 + Visual Studio build
* follow the message
This commit is contained in:
parent
283407e1ff
commit
52e280e94b
@ -1642,7 +1642,7 @@ inline int v_signmask(const v_uint64x2& a)
|
|||||||
#if CV_NEON_AARCH64
|
#if CV_NEON_AARCH64
|
||||||
const int64x2_t signPosition = {0,1};
|
const int64x2_t signPosition = {0,1};
|
||||||
uint64x2_t v0 = vshlq_u64(vshrq_n_u64(a.val, 63), signPosition);
|
uint64x2_t v0 = vshlq_u64(vshrq_n_u64(a.val, 63), signPosition);
|
||||||
uint64_t t0 = vaddvq_u64(v0);
|
int t0 = (int)vaddvq_u64(v0);
|
||||||
return t0;
|
return t0;
|
||||||
#else // #if CV_NEON_AARCH64
|
#else // #if CV_NEON_AARCH64
|
||||||
int64x1_t m0 = vdup_n_s64(0);
|
int64x1_t m0 = vdup_n_s64(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user