make gnu compiler happy

This commit is contained in:
Ahmet Inan 2024-02-21 07:54:44 +01:00
commit 019adfa609
5 changed files with 6 additions and 2 deletions

View file

@ -1338,8 +1338,8 @@ inline SIMD<float, 16> vshuf(SIMD<float, 16> a, SIMD<uint32_t, 16> b)
SIMD<float, 16> tmp;
for (int i = 0; i < 2; ++i)
tmp.m[i] = _mm256_or_ps(
_mm256_and_ps(_mm256_permutevar8x32_ps(a.m[0], b.m[i]), _mm256_cmpgt_epi32(_mm256_set1_epi32(8), b.m[i])),
_mm256_and_ps(_mm256_permutevar8x32_ps(a.m[1], _mm256_sub_epi32(b.m[i], _mm256_set1_epi32(8))), _mm256_cmpgt_epi32(b.m[i], _mm256_set1_epi32(7))));
_mm256_and_ps(_mm256_permutevar8x32_ps(a.m[0], b.m[i]), (__m256)_mm256_cmpgt_epi32(_mm256_set1_epi32(8), b.m[i])),
_mm256_and_ps(_mm256_permutevar8x32_ps(a.m[1], _mm256_sub_epi32(b.m[i], _mm256_set1_epi32(8))), (__m256)_mm256_cmpgt_epi32(b.m[i], _mm256_set1_epi32(7))));
return tmp;
}

View file

@ -4,6 +4,7 @@ Test for the Bose Chaudhuri Hocquenghem Encoder
Copyright 2018 Ahmet Inan <inan@aicodix.de>
*/
#include <cstdint>
#include <cassert>
#include <iostream>
#include "bitman.hh"

View file

@ -4,6 +4,7 @@ Test for the Cyclic redundancy check
Copyright 2018 Ahmet Inan <inan@aicodix.de>
*/
#include <cstdint>
#include <cassert>
#include <iostream>
#include <bitset>

View file

@ -4,6 +4,7 @@ Test for the Galois field arithmetic
Copyright 2018 Ahmet Inan <inan@aicodix.de>
*/
#include <cstdint>
#include <cassert>
#include <iostream>
#include "galois_field.hh"

View file

@ -4,6 +4,7 @@ Test for the Reed Solomon Encoder
Copyright 2018 Ahmet Inan <inan@aicodix.de>
*/
#include <cstdint>
#include <cassert>
#include <iostream>
#include "galois_field.hh"