From 0aaf69c0053e3a1a71688b852d06a327125343fe Mon Sep 17 00:00:00 2001 From: Mark Borgerding Date: Tue, 22 Sep 2009 01:53:33 +0000 Subject: [PATCH] using -mtune=native --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 5ac928a..54765af 100644 --- a/test/Makefile +++ b/test/Makefile @@ -6,7 +6,7 @@ WARNINGS=-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return \ # for x86 pentium+ machines , these flags work well #CFLAGS=-O3 -march=pentiumpro -ffast-math -fomit-frame-pointer -I.. -I../tools $(WARNINGS) # If the above flags do not work, try the following -CFLAGS=-O3 -ffast-math -fomit-frame-pointer -I.. -I../tools $(WARNINGS) +CFLAGS=-O3 -mtune=native -ffast-math -fomit-frame-pointer -I.. -I../tools $(WARNINGS) # TIP: try adding -openmp or -fopenmp to enable OPENMP directives and use of multiple cores