mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:27:35 +00:00
UserspaceEmulator: Simplify the definition of the FPU register stack
Long doubles are always at least 80 bits wide in memory and it suffices if we can address these 80 bits, to mark the long double as NAN at the end of an MMX instruction, so the additional magic using conditional types is unnecessary.
This commit is contained in:
parent
d06675e3e4
commit
7214b08f81
2 changed files with 3 additions and 9 deletions
|
@ -289,12 +289,7 @@ private:
|
|||
long double fp;
|
||||
struct {
|
||||
MMX mmx;
|
||||
Conditional<sizeof(long double) == 16,
|
||||
u64,
|
||||
Conditional<sizeof(long double) == 12,
|
||||
u32,
|
||||
u16>>
|
||||
__high;
|
||||
u16 __high;
|
||||
};
|
||||
} m_storage[8];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue