From 1d2ad9cf619b0ecff51ef85179e18bc92af93f5b Mon Sep 17 00:00:00 2001 From: Hendiadyoin1 Date: Fri, 1 Apr 2022 13:57:31 +0200 Subject: [PATCH] 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. --- Userland/DevTools/UserspaceEmulator/SoftFPU.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp b/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp index 67c2bba6a9..d616417348 100644 --- a/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp +++ b/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp @@ -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.