dangmoody / HLML

Auto-generated maths library for C and C++ based on HLSL/Cg
24 stars 1 forks source link

Add ARM neon SIMD backend #44

Open dangmoody opened 3 years ago

dangmoody commented 3 years ago

Machines with ARM ISAs are becoming more present so it's probably a good idea to make HLML support it.

Not sure how much work this will be but hopefully it's not going to be a massive amount.

Will testing on a Raspberry Pi be sufficient?

SirNate0 commented 5 months ago

Possibly sse2neon could be used instead with essentially no work required.

dangmoody commented 4 months ago

Hey, thanks for the suggestion!

The SIMD API of HLML needs to be heavily refactored anyway, so I can look at adding support for things like this as part of the work that I'll end up doing (there are a few problems with HLML's SIMD API that need addressing for it to be useful, but I get slightly closer with each iteration).

Haven't given that library a proper read through yet (I only skimmed it), but I will do so later this week and get back to you. 🙂