Set defaults for GCC

This commit is contained in:
Jan Eitzinger 2021-03-24 08:48:27 +01:00
parent d026028439
commit 32b23a2ebd
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Supported: GCC, CLANG, ICC # Supported: GCC, CLANG, ICC
TAG ?= GCC TAG ?= GCC
DATA_TYPE ?= SP#SP or DP DATA_TYPE ?= SP#SP or DP
DATA_LAYOUT ?= AOS#AOS or SOA DATA_LAYOUT ?= SoA#AOS or SOA
#Feature options #Feature options
OPTIONS += -DALIGNMENT=64 OPTIONS += -DALIGNMENT=64

View File

@ -6,8 +6,8 @@ ANSI_CFLAGS += -std=c99
ANSI_CFLAGS += -pedantic ANSI_CFLAGS += -pedantic
ANSI_CFLAGS += -Wextra ANSI_CFLAGS += -Wextra
CFLAGS = -O0 -g -std=c99 -fargument-noalias # CFLAGS = -O0 -g -std=c99 -fargument-noalias
# CFLAGS = -O3 -march=znver1 -ffast-math -funroll-loops -fopenmp CFLAGS = -O3 -march=znver1 -ffast-math -funroll-loops # -fopenmp
ASFLAGS = -masm=intel ASFLAGS = -masm=intel
LFLAGS = LFLAGS =
DEFINES = -D_GNU_SOURCE DEFINES = -D_GNU_SOURCE