# os = (name) --- --- Target operating system
# bits = 64/32 --- -DIS_64BIT --- 64-/32-bit operating system
# bigendian = no/yes --- -DBIGENDIAN --- big/little-endian byte order
-# prefetch = no/yes --- -DPREFETCH --- Use prefetch x86 asm-instruction
+# prefetch = no/yes --- -DUSE_PREFETCH --- Use prefetch x86 asm-instruction
# bsfq = no/yes --- -DUSE_BSFQ --- Use bsfq x86_64 asm-instruction
# --- (Works only with GCC and ICC 64-bit)
# popcnt = no/yes --- -DUSE_POPCNT --- Use popcnt x86_64 asm-instruction
### 3.8 prefetch
ifeq ($(prefetch),yes)
- CXXFLAGS += -msse -DUSE_PREFETCH
+ CXXFLAGS += -msse
DEPENDFLAGS += -msse
+else
+ CXXFLAGS += -DNO_PREFETCH
endif
### 3.9 bsfq
strip:
strip $(EXE)
-install: default
+install:
-mkdir -p -m 755 $(BINDIR)
-cp $(EXE) $(BINDIR)
-strip $(BINDIR)/$(EXE)
all
gcc-profile-clean:
- @rm -rf *.gcda bench.txt
+ @rm -rf *.gcda *.gcno bench.txt
icc-profile-prepare:
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) icc-profile-clean
hpux:
$(MAKE) \
- CXX='/opt/aCC/bin/aCC -AA +hpxstd98 -DBIGENDIAN -mt +O3 -DNDEBUG' \
+ CXX='/opt/aCC/bin/aCC -AA +hpxstd98 -DBIGENDIAN -mt +O3 -DNDEBUG -DNO_PREFETCH' \
CXXFLAGS="" \
LDFLAGS="" \
all