mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +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
1 changed files with 2 additions and 2 deletions
|
@ -76,13 +76,13 @@ ALWAYS_INLINE void SoftFPU::fpu_set(u8 index, long double value)
|
||||||
VERIFY(index < 8);
|
VERIFY(index < 8);
|
||||||
fpu_set_absolute((m_fpu_stack_top + index) % 8, value);
|
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);
|
VERIFY(index < 8);
|
||||||
warn_if_fpu_absolute(index);
|
warn_if_fpu_absolute(index);
|
||||||
return m_storage[index].mmx;
|
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;
|
m_storage[index].mmx = value;
|
||||||
// The high bytes are set to 0b11... to make the floating-point value NaN.
|
// The high bytes are set to 0b11... to make the floating-point value NaN.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue