diff options
author | Denis Steckelmacher <steckdenis@yahoo.fr> | 2017-03-19 15:32:50 +0100 |
---|---|---|
committer | Denis Steckelmacher <steckdenis@yahoo.fr> | 2017-03-19 15:32:50 +0100 |
commit | c9ff735da6deafa25a0a10f25b9fcf77195fb055 (patch) | |
tree | 4d23f47c1bff360424e07692f3bc7a932f944b71 /getarch.c | |
parent | 99880f79068fc12b3025840671a838f0d4be3c9e (diff) | |
download | openblas-c9ff735da6deafa25a0a10f25b9fcf77195fb055.tar.gz openblas-c9ff735da6deafa25a0a10f25b9fcf77195fb055.tar.bz2 openblas-c9ff735da6deafa25a0a10f25b9fcf77195fb055.zip |
Add ZEN support (tested for auto-detected static backend)
Diffstat (limited to 'getarch.c')
-rw-r--r-- | getarch.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -473,6 +473,25 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CORENAME "EXCAVATOR" #endif +#if defined (FORCE_ZEN) +#define FORCE +#define FORCE_INTEL +#define ARCHITECTURE "X86" +#define SUBARCHITECTURE "ZEN" +#define ARCHCONFIG "-DZEN " \ + "-DL1_CODE_SIZE=32768 -DL1_CODE_LINESIZE=64 -DL1_CODE_ASSOCIATIVE=8 " \ + "-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=64 -DL2_CODE_ASSOCIATIVE=8 " \ + "-DL2_SIZE=524288 -DL2_LINESIZE=64 -DL2_ASSOCIATIVE=8 " \ + "-DL3_SIZE=16777216 -DL3_LINESIZE=64 -DL3_ASSOCIATIVE=8 " \ + "-DITB_DEFAULT_ENTRIES=64 -DITB_SIZE=4096 " \ + "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 " \ + "-DHAVE_MMX -DHAVE_SSE -DHAVE_SSE2 -DHAVE_SSE3 -DHAVE_SSE4_1 -DHAVE_SSE4_2 " \ + "-DHAVE_SSE4A -DHAVE_MISALIGNSSE -DHAVE_128BITFPU -DHAVE_FASTMOVU -DHAVE_CFLUSH " \ + "-DHAVE_AVX -DHAVE_FMA3 -DFMA3" +#define LIBNAME "excavator" +#define CORENAME "EXCAVATOR" +#endif + #ifdef FORCE_SSE_GENERIC #define FORCE |