ptitSeb / gl4es

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.
http://ptitseb.github.io/gl4es/
MIT License
694 stars 159 forks source link

[Question]: NEON Intrisics #441

Closed Mathias-Boulay closed 11 months ago

Mathias-Boulay commented 1 year ago

I noticed that ARMv7 NEON Intrisics are present in the codebase, particulary inside mathvec.c file.

Do you remember how much of an impact this made on performance ? I'm considering creating ARMv8 NEON Intrisics if the time spent is worth it.

ptitSeb commented 1 year ago

Unfortunatly, I don't remember any number. It would be nice to have ARMv8 support too, for sure.

Mathias-Boulay commented 1 year ago

Argh, not even an order of magnitude ? Well, I guess I can create some tests for my use case, it will take a slight while

ptitSeb commented 1 year ago

yeah, nope, sorry.it's too old, I don't remember. I did that at a time when I was putting NEON optim everywhere :)

Mathias-Boulay commented 1 year ago

Well, I'll see later and find out if I did well

Mathias-Boulay commented 1 year ago

Chances are that I better rely on this project: https://github.com/ARM-software/optimized-routines a way or another.

Mathias-Boulay commented 11 months ago

Side note: The android ndk does not allow neon-less compilation since a while now. I assume it now makes extensive use of the extended instructions set