core: Fix up issues introduced in vtlb xmm change

This commit is contained in:
TellowKrinkle 2021-09-21 21:44:28 -05:00
parent cff9f83a45
commit f4010029f1
2 changed files with 3 additions and 1 deletions

View File

@ -335,6 +335,7 @@ static RETURNS_R64 _ext_memRead64(u32 mem)
MEM_LOG("Unknown Memory read64 from address %8.8x", mem);
cpuTlbMissR(mem, cpuRegs.branch);
return r64_zero();
}
template<int p>
@ -351,6 +352,7 @@ static RETURNS_R128 _ext_memRead128(u32 mem)
MEM_LOG("Unknown Memory read128 from address %8.8x", mem);
cpuTlbMissR(mem, cpuRegs.branch);
return r128_zero();
}
template<int p>

View File

@ -59,7 +59,7 @@ __forceinline static r64 r64_from_u64(u64 val)
#ifdef _M_X86_64
return _mm_cvtsi64_si128(val);
#else
return r64_from_u32x2(val, val >> 64);
return r64_from_u32x2(val, val >> 32);
#endif
}