Skip to content

Commit

Permalink
Remove const
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch authored Dec 5, 2016
1 parent 9ac7152 commit fe6b3f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libpopcnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,19 +287,19 @@ inline uint64_t popcnt_harley_seal(const uint64_t* data, uint64_t size)
#if defined(_MSC_VER)

/// Define missing & operator overload for __m256i type on MSVC compiler
inline __m256i operator&(const __m256i a, const __m256i b)
inline __m256i operator&(__m256i a, __m256i b)
{
return _mm256_and_si256(a, b);
}

/// Define missing | operator overload for __m256i type on MSVC compiler
inline __m256i operator|(const __m256i a, const __m256i b)
inline __m256i operator|(__m256i a, __m256i b)
{
return _mm256_or_si256(a, b);
}

/// Define missing ^ operator overload for __m256i type on MSVC compiler
inline __m256i operator^(const __m256i a, const __m256i b)
inline __m256i operator^(__m256i a, __m256i b)
{
return _mm256_xor_si256(a, b);
}
Expand Down

0 comments on commit fe6b3f2

Please sign in to comment.