Minor fixup after #6894

This commit is contained in:
Eladash 2019-12-22 08:55:48 +02:00 committed by Ivan
parent 45cff1219c
commit b59a825e48
2 changed files with 2 additions and 8 deletions

View file

@ -287,8 +287,8 @@ void cpu_thread::operator()()
// force input/output denormals to zero for SPU threads (FTZ/DAZ)
_mm_setcsr( _mm_getcsr() | 0x8040 );
volatile u32 a = 0x1fc00000;
__m128 b = _mm_castsi128_ps(_mm_set1_epi32(const_cast<u32 &>(a)));
const volatile int a = 0x1fc00000;
__m128 b = _mm_castsi128_ps(_mm_set1_epi32(a));
int c = _mm_cvtsi128_si32(_mm_castps_si128(_mm_mul_ps(b,b)));
if (c != 0)