-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStageDataAvx512.h
66 lines (38 loc) · 1.33 KB
/
StageDataAvx512.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*****************************************************************************
StageDataAvx512.h
Port of StageDataAvx512.h from SSE to AVX by Dario Mambro
StageDataAvx512.h by Laurent de Soras
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hocevar. See
http://sam.zoy.org/wtfpl/COPYING for more details.
*Tab=3***********************************************************************/
#if !defined(hiir_StageDataAvx512_HEADER_INCLUDED)
#define hiir_StageDataAvx512_HEADER_INCLUDED
#if defined(_MSC_VER)
#pragma once
#pragma warning(4 : 4250) // "Inherits via dominance."
#endif
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include <immintrin.h>
namespace hiir
{
class StageDataAvx512
{
public:
union
{
__m512 _coef16; // Just to ensure alignement
float _coef [16];
};
union
{
__m512 _mem16;
float _mem [16]; // y of the stage
};
}; // class StageDataAvx512
} // namespace hiir
#endif // hiir_StageDataAvx512_HEADER_INCLUDED
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/