version 1.1, 2005/02/16 07:19:57
|
version 1.2, 2005/02/17 08:01:32
|
|
|
CFLAGS = -Wno-deprecated -g |
CFLAGSHOME = -Wno-deprecated -O3 -march=prescott -fomit-frame-pointer -pipe -fprefetch-loop-arrays -funroll-loops -falign-jumps=4 -falign-loops=4 -falign-functions=5 -fforce-addr -ffast-math -fno-math-errno -funsafe-math-optimizations -ffinite-math-only -ftracer -fprefetch-loop-arrays -fno-trapping-math -fstrict-aliasing -fomit-frame-pointer -malign-double |
|
CFLAGSSPARC = -Wno-deprecated -O3 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -funroll-loops -falign-jumps=4 -falign-loops=4 -falign-functions=5 -fforce-addr -ffast-math -fno-math-errno -funsafe-math-optimizations -ffinite-math-only -ftracer -fprefetch-loop-arrays -fno-trapping-math -fstrict-aliasing -fomit-frame-pointer -mcpu=v9 -m64 -fbranch-probabilities |
|
#-mfaster-structs = failure |
|
#ignoring multiple processors --- could quite possibly thread, having both processors go at it at once |
|
#-fprofile-arcs interesting but not so useful on |
|
#speed increase to 6 seconds from *78 seconds* on SPARC v9 (kelton) using |
|
all: rizwank_acm0205 |
| |
all: acm2 |
rizwank_acm0205: |
|
g++ $(CFLAGSSPARC) -o rizwank_acm0205 rizwank_acm0205.cpp |
acm2: |
|
g++ -o acm2.exe acm2.cpp |
|
| |
|
rizwank_acm0205_cygwin: |
|
g++ $(CFLAGSHOME) -o rizwank_acm0205.exe rizwank_acm0205.cpp; |
clean: | clean: |
@-rm acm2.exe |
@-rm acm3.exe |
|
@-rm acm3 |