From e812ca529d73a6ea13a1ad47f342483c4dbc69ec Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Wed, 9 Dec 2020 21:03:27 +0300 Subject: [PATCH] Enable ARM SIMD/NEON optimized blitters --- Makefile.vita.dolce | 3 ++- include/SDL_config_vita.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.vita.dolce b/Makefile.vita.dolce index 44c3cc338..6237546af 100644 --- a/Makefile.vita.dolce +++ b/Makefile.vita.dolce @@ -34,8 +34,9 @@ SOURCES = \ src/video/*.c \ src/video/vita/*.c \ src/video/yuv2rgb/*.c \ + src/video/arm/*.S \ -OBJS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') +OBJS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g' | sed -e 's,\.S,\.o,g') PREFIX = arm-dolce-eabi CC = $(PREFIX)-gcc diff --git a/include/SDL_config_vita.h b/include/SDL_config_vita.h index 3d3184fdf..dee71f5dc 100644 --- a/include/SDL_config_vita.h +++ b/include/SDL_config_vita.h @@ -129,6 +129,9 @@ /* VITA isn't that sophisticated */ #define LACKS_SYS_MMAN_H 1 +/* enable optimized blitters */ +#define SDL_ARM_SIMD_BLITTERS 1 +#define SDL_ARM_NEON_BLITTERS 1 #define SDL_AUDIO_DRIVER_VITA 1 #define SDL_THREAD_VITA 1