mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
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:
parent
b7a8cfdde9
commit
1d2ad9cf61
Notes:
sideshowbarker
2024-07-17 16:19:11 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/1d2ad9cf61 Pull-request: https://github.com/SerenityOS/serenity/pull/13405
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue