UserspaceEmulator: Don't mark SoftFPU::mmx_get/set as ALWAYS_INLINE

These are exposed by SoftCPU, and this attribute would cause these not
to create any symbols to link against.
This commit is contained in:
Hendiadyoin1 2022-04-01 13:57:31 +02:00 committed by Andreas Kling
parent b7a8cfdde9
commit 1d2ad9cf61
Notes: sideshowbarker 2024-07-17 16:19:11 +09:00

View file

@ -76,13 +76,13 @@ ALWAYS_INLINE void SoftFPU::fpu_set(u8 index, long double value)
VERIFY(index < 8);
fpu_set_absolute((m_fpu_stack_top + index) % 8, value);
}
ALWAYS_INLINE MMX SoftFPU::mmx_get(u8 index) const
MMX SoftFPU::mmx_get(u8 index) const
{
VERIFY(index < 8);
warn_if_fpu_absolute(index);
return m_storage[index].mmx;
}
ALWAYS_INLINE void SoftFPU::mmx_set(u8 index, MMX value)
void SoftFPU::mmx_set(u8 index, MMX value)
{
m_storage[index].mmx = value;
// The high bytes are set to 0b11... to make the floating-point value NaN.