Skip to content

Commit

Permalink
GXMVECTOR 4th parameter for x86 __vectorcall fixup removal
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Aug 2, 2020
1 parent abe5a69 commit cc101d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Inc/DirectXMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ namespace DirectX
typedef const XMVECTOR& FXMVECTOR;
#endif

// Fix-up for (4th) XMVECTOR parameter to pass in-register for ARM, ARM64, and x64 vector call; by reference otherwise
#if ( defined(_M_ARM) || defined(_M_ARM64) || defined(_M_HYBRID_X86_ARM64) || (_XM_VECTORCALL_ && !defined(_M_IX86) ) || __arm__ || __aarch64__ ) && !defined(_XM_NO_INTRINSICS_)
// Fix-up for (4th) XMVECTOR parameter to pass in-register for ARM, ARM64, and vector call; by reference otherwise
#if ( defined(_M_ARM) || defined(_M_ARM64) || defined(_M_HYBRID_X86_ARM64) || _XM_VECTORCALL_ || __arm__ || __aarch64__ ) && !defined(_XM_NO_INTRINSICS_)
typedef const XMVECTOR GXMVECTOR;
#else
typedef const XMVECTOR& GXMVECTOR;
Expand Down

0 comments on commit cc101d2

Please sign in to comment.