Skip to content

Commit

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

static HPCOMBI_CONSTEXPR Perm16
rev8 (epu8 {7,6,5,4,3,2,1,0,8,9,10,11,12,13,14,15});
static HPCOMBI_CONSTEXPR epu8
rev8 {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 c884d29

Please sign in to comment.