Skip to content

Commit

Permalink
Declared HPCOMBI_CONSTEXPR for rev8 in bmat8_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
hivert committed Jan 5, 2020
1 parent 577abd2 commit 8dc4f84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/bmat8_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ inline size_t BMat8::nr_rows() const {
return _mm_popcnt_u64(_mm_movemask_epi8(x != epu8 {}));
}

constexpr Perm16 rev8 (epu8 {7,6,5,4,3,2,1,0,8,9,10,11,12,13,14,15});
static HPCOMBI_CONSTEXPR Perm16
rev8 (epu8 {7,6,5,4,3,2,1,0,8,9,10,11,12,13,14,15});
inline BMat8 BMat8::row_permuted(Perm16 p) const {
epu8 x = _mm_set_epi64x(0, _data);
x = permuted(x, rev8);
Expand Down

0 comments on commit 8dc4f84

Please sign in to comment.