Skip to content

Commit

Permalink
Enable simd for aarch64-apple-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Mar 2, 2023
1 parent 1e04de1 commit 33e5eb7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions physx/include/foundation/PxVecMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@

// enable/disable SIMD
#if !defined(PX_SIMD_DISABLED)
#if PX_INTEL_FAMILY && (!defined(__EMSCRIPTEN__) || defined(__SSE2__))
#define COMPILE_VECTOR_INTRINSICS 1
#elif PX_SWITCH
#define COMPILE_VECTOR_INTRINSICS 1
#else
#define COMPILE_VECTOR_INTRINSICS 0
#endif
#if PX_INTEL_FAMILY && (!defined(__EMSCRIPTEN__) || defined(__SSE2__))
#define COMPILE_VECTOR_INTRINSICS 1
#elif PX_SWITCH
#define COMPILE_VECTOR_INTRINSICS 1
#elif PX_OSX && PX_A64
#define COMPILE_VECTOR_INTRINSICS 1
#else
#define COMPILE_VECTOR_INTRINSICS 0
#endif
#else
#define COMPILE_VECTOR_INTRINSICS 0
#endif
Expand Down

0 comments on commit 33e5eb7

Please sign in to comment.