We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d270d7 commit 0437fd0Copy full SHA for 0437fd0
src/engine/qcommon/q_math.cpp
@@ -744,9 +744,9 @@ void SetPlaneSignbits( cplane_t *out )
744
int BoxOnPlaneSide( const bounds_t &bounds, const cplane_t *p )
745
{
746
#if defined(DAEMON_USE_ARCH_INTRINSICS_i686_sse)
747
- auto mins = sseLoadVec3Unsafe( bounds.mins );
748
- auto maxs = sseLoadVec3Unsafe( bounds.maxs );
749
- auto normal = sseLoadVec3Unsafe( p->normal );
+ auto mins = _mm_load_ps( bounds.mins );
+ auto maxs = _mm_load_ps( bounds.maxs );
+ auto normal = _mm_load_ps( p->normal );
750
751
auto prod0 = _mm_mul_ps( maxs, normal );
752
auto prod1 = _mm_mul_ps( mins, normal );
0 commit comments