mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
Minor fixup after #6894
This commit is contained in:
parent
45cff1219c
commit
b59a825e48
2 changed files with 2 additions and 8 deletions
|
@ -287,8 +287,8 @@ void cpu_thread::operator()()
|
||||||
// force input/output denormals to zero for SPU threads (FTZ/DAZ)
|
// force input/output denormals to zero for SPU threads (FTZ/DAZ)
|
||||||
_mm_setcsr( _mm_getcsr() | 0x8040 );
|
_mm_setcsr( _mm_getcsr() | 0x8040 );
|
||||||
|
|
||||||
volatile u32 a = 0x1fc00000;
|
const volatile int a = 0x1fc00000;
|
||||||
__m128 b = _mm_castsi128_ps(_mm_set1_epi32(const_cast<u32 &>(a)));
|
__m128 b = _mm_castsi128_ps(_mm_set1_epi32(a));
|
||||||
int c = _mm_cvtsi128_si32(_mm_castps_si128(_mm_mul_ps(b,b)));
|
int c = _mm_cvtsi128_si32(_mm_castps_si128(_mm_mul_ps(b,b)));
|
||||||
|
|
||||||
if (c != 0)
|
if (c != 0)
|
||||||
|
|
|
@ -1132,12 +1132,6 @@ void spu_thread::cpu_task()
|
||||||
|
|
||||||
std::fesetround(FE_TOWARDZERO);
|
std::fesetround(FE_TOWARDZERO);
|
||||||
|
|
||||||
if (g_cfg.core.set_daz_and_ftz && g_cfg.core.spu_decoder != spu_decoder_type::precise)
|
|
||||||
{
|
|
||||||
// Set DAZ and FTZ
|
|
||||||
_mm_setcsr(_mm_getcsr() | 0x8840);
|
|
||||||
}
|
|
||||||
|
|
||||||
g_tls_log_prefix = []
|
g_tls_log_prefix = []
|
||||||
{
|
{
|
||||||
const auto cpu = static_cast<spu_thread*>(get_current_cpu_thread());
|
const auto cpu = static_cast<spu_thread*>(get_current_cpu_thread());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue