From ecc9c88ff80ed44fdb31ff468103192ad4bc1e3b Mon Sep 17 00:00:00 2001 From: evghenii Date: Wed, 5 Feb 2014 13:52:24 +0100 Subject: [PATCH] fix packed_store_active2 for knc-i1x8.h --- examples/intrinsics/knc-i1x8.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/intrinsics/knc-i1x8.h b/examples/intrinsics/knc-i1x8.h index 4a5b28a9..478ad75a 100644 --- a/examples/intrinsics/knc-i1x8.h +++ b/examples/intrinsics/knc-i1x8.h @@ -2526,8 +2526,8 @@ static FORCEINLINE int32_t __packed_store_active(uint32_t *p, __vec8_i32 val, _mm512_mask_extpackstorehi_epi32((uint8_t*)p+64, 0xFF & mask, val, _MM_DOWNCONV_EPI32_NONE, _MM_HINT_NONE); return _mm_countbits_32(uint32_t(0xFF & mask)); } -static FORCEINLINE int32_t __packed_store_active2(uint32_t *ptr, __vec4_i32 val, - __vec4_i1 mask) { +static FORCEINLINE int32_t __packed_store_active2(uint32_t *ptr, __vec8_i32 val, + __vec8_i1 mask) { return __packed_store_active(ptr, val, mask); } static FORCEINLINE int32_t __packed_load_active(int32_t *p, __vec8_i32 *val, @@ -2538,8 +2538,8 @@ static FORCEINLINE int32_t __packed_store_active(int32_t *p, __vec8_i32 val, __vec8_i1 mask) { return __packed_store_active((uint32_t *)p, val, mask); } -static FORCEINLINE int32_t __packed_store_active2(int32_t *ptr, __vec4_i32 val, - __vec4_i1 mask) { +static FORCEINLINE int32_t __packed_store_active2(int32_t *ptr, __vec8_i32 val, + __vec8_i1 mask) { return __packed_store_active(ptr, val, mask); }