mirror of
https://github.com/FunKey-Project/FunKey-ProdScreens.git
synced 2026-07-21 07:07:58 +02:00
testing neon optimization for rotations/transpose of non squared NxM matrices
This commit is contained in:
17
Makefile
17
Makefile
@@ -11,7 +11,8 @@ prodScreen_magnetTest.c \
|
||||
prodScreen_validation.c \
|
||||
prodScreen_showImage.c \
|
||||
prodScreen_tearingTest.c \
|
||||
prodScreen_gamma.c
|
||||
prodScreen_gamma.c \
|
||||
prodScreen_tests.c
|
||||
|
||||
# Output
|
||||
EXEC=funkey_prod_screens
|
||||
@@ -20,11 +21,17 @@ EXEC=funkey_prod_screens
|
||||
CC=$(CROSS_COMPILE)gcc
|
||||
|
||||
# Other options
|
||||
CFLAGS += `sdl-config --cflags`
|
||||
CFLAGS += -O3 -std=c99 -Wall
|
||||
ifeq ($(platform), funkey)
|
||||
CFLAGS += $(shell /opt/FunKey-sdk-2.3.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --cflags)
|
||||
CFLAGS += -O2 -mfloat-abi=hard -ffast-math -funsafe-math-optimizations -fno-PIC -march=armv7-a+neon-vfpv4 -mtune=cortex-a7 -mfpu=neon-vfpv4
|
||||
#CFLAGS += -O2
|
||||
LIBS += $(shell /opt/FunKey-sdk-2.3.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --libs)
|
||||
else
|
||||
CFLAGS += `sdl-config --cflags`
|
||||
LIBS += `sdl-config --libs`
|
||||
endif
|
||||
|
||||
# SDL options
|
||||
LIBS += `sdl-config --libs`
|
||||
CFLAGS += -std=c99 -Wall
|
||||
LIBS += -lSDL_ttf -lSDL_image
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user