-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
36 lines (28 loc) · 837 Bytes
/
Makefile
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
CFLAGS ?= -Wall -g -O3 -fno-builtin -march=native
SRCS = main.c glibc.c musl.c simple.c neon.c
# if x86
#SRCS += musl.s memset-avx2-unaligned-erms.S memset-avx512-unaligned-erms.S
all:
$(CC) $(CFLAGS) $(SRCS) -o a.out
clean:
rm -f a.out
# \
-ftree-vectorize \
-fpeel-loops \
# \
-fdump-tree-all \
-fdump-rtl-all \
# \
-fgcse-after-reload \
-fipa-cp-clone \
-floop-interchange \
-floop-unroll-and-jam \
-fpredictive-commoning \
-fsplit-paths \
-ftree-loop-distribute-patterns \
-ftree-loop-distribution \
-ftree-partial-pre \
-ftree-loop-vectorize \
-ftree-slp-vectorize \
-funswitch-loops \
-fvect-cost-model \