mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
make gnu compiler happy
This commit is contained in:
parent
3e91ae52d3
commit
019adfa609
5 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue