Add 'callgrind' target.
- Reactivate SIMD.
This commit is contained in:
parent
c704c14526
commit
f8178fae98
5
Makefile
5
Makefile
|
@ -1,7 +1,7 @@
|
||||||
CXX = clang++
|
CXX = clang++
|
||||||
CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math -g -Werror
|
CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math -g -Werror
|
||||||
LFLAGS = -flto
|
LFLAGS = -flto
|
||||||
DEFINES = #-DSIMD
|
DEFINES = -DSIMD
|
||||||
BUILD_DIR = /tmp
|
BUILD_DIR = /tmp
|
||||||
SRC = rotation.cpp \
|
SRC = rotation.cpp \
|
||||||
image.cpp \
|
image.cpp \
|
||||||
|
@ -33,3 +33,6 @@ debug: all
|
||||||
|
|
||||||
cachegrind: all
|
cachegrind: all
|
||||||
valgrind --tool=cachegrind --dsymutil=yes $(BUILD_DIR)/rotation $(IMG)
|
valgrind --tool=cachegrind --dsymutil=yes $(BUILD_DIR)/rotation $(IMG)
|
||||||
|
|
||||||
|
callgrind: all
|
||||||
|
valgrind --tool=callgrind --dsymutil=yes $(BUILD_DIR)/rotation $(IMG)
|
||||||
|
|
Loading…
Reference in a new issue