Search results

  1. J

    Fast Neon 3-Term Cross Product

    So, I'm trying to come up with a fast 3D cross product using NEON instructions, and this is currently what I have: // cross3(v1, v2) = [ y1*z2 - y2*z1 , z1*x2 - z2*x1 , x1*y2 - x2*y1 ] float32x4_t cross3(float32x4_t v1, float32x4_t v2) { static uint32x4_t const cross3_mask = { 0x00000000...
Back
Top