Skip to content

Commit feaeaf5

Browse files
committed
Comment update
1 parent 83965ea commit feaeaf5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Inc/DirectXMathVector.inl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ inline XMVECTOR XM_CALLCONV XMVectorSwizzle
12411241
return _mm_permutevar_ps(V, vControl);
12421242
#else
12431243
#if defined(__GNUC__) && !defined(__clang__)
1244+
// workaround some GCC optimization behavior that breaks this function
12441245
XMVECTORU32 T;
12451246
T.v = V;
12461247
auto aPtr = reinterpret_cast<const uint32_t*>(&T);
@@ -1319,6 +1320,7 @@ inline XMVECTOR XM_CALLCONV XMVectorPermute
13191320
const uint32_t* aPtr[2];
13201321

13211322
#if defined(__GNUC__) && !defined(__clang__)
1323+
// workaround some GCC optimization behavior that breaks this function
13221324
XMVECTORU32 T1;
13231325
T1.v = V1;
13241326
XMVECTORU32 T2;

0 commit comments

Comments
 (0)