SDL_ttf
SDL_ttf copied to clipboard
Re-enable HAVE_NEON_INTRINSICS
It seems to me ARM_NEON is working and could be re-activated: https://github.com/libsdl-org/SDL_ttf/blob/main/SDL_ttf.c#L122
diff --git a/SDL_ttf.c b/SDL_ttf.c
index 8a4bb3d..68909ea 100644
--- a/SDL_ttf.c
+++ b/SDL_ttf.c
@@ -119,7 +119,7 @@ int TTF_SetScript(int script) /* hb_script_t */
#endif
/* Round glyph width to 16 bytes use NEON instructions */
-#if 0 /*defined(__ARM_NEON)*/
+#if defined(__ARM_NEON)
# define HAVE_NEON_INTRINSICS 1
#endif
Does it build / work on windows versions too?
I haven't re-tried that, I think it did (window for window arm platform). never try compiling on windows for android. I probably can double-check (later..)
What testing have you done to verify it?
I haven't done more testing recently. (I'll try the window compilation more later). I don't know why this is back-out. I've using these neon intrinsic routines for years now on android without special crash about it
I have some trouble to try the ARM compilation of SDL_ttf on window. I have no device, my Visual Studio is old (2017) and not configured for ARM. Would be nice if someone with a setup ready could try it.
Is this planned for 2.20 ?
Is this planned for 2.20 ?
No, nobody has a setup to test it, so it'll have to go in post-release.