Changeset 1056


Ignore:
Timestamp:
Mar 30, 2011, 9:56:01 AM (8 years ago)
Author:
cameron
Message:

make options O1, sse2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/src/Makefile

    r1051 r1056  
    66CFLAGS= $(SSE) -O3
    77SSE=-msse2 #-msse4.1 -DUSE_PTEST #-mssse3 -msse4.1 -msse4.2
    8 
    9 OS = $(shell uname)
    10 ICONV_FLAGS=
    11 ifeq ($(OS),Darwin)
    12         ICONV_FLAGS=-liconv
    13 endif
    148
    159PAPI_DIR=/usr/local/papi
     
    2418endif
    2519
    26 avx:    $(SRCFILE)
    27         $(CC) -o $(OUTFILE) $(SRCFILE) -march=nocona -m64 -mavx
     20sse2:   $(SRCFILE)
     21        $(CC) -o $(OUTFILE) $(SRCFILE) -march=nocona -m64 -msse2
     22
     23O1:     $(SRCFILE)
     24        g++ -O1 -o $(OUTFILE) $(SRCFILE) -march=nocona -m64 -msse2 -DBUFFER_PROFILING  -DPERF_SCRIPT
    2825
    2926all:    $(SRCFILE)
    3027        $(CC) -o $(OUTFILE) $(SRCFILE) $(AFLAGS)
     28
     29avx:    $(SRCFILE)
     30        $(CC) -o $(OUTFILE) $(SRCFILE) -march=nocona -m64 -mavx
    3131
    3232
Note: See TracChangeset for help on using the changeset viewer.