mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
UserspaceEmulator: Raise an error on FPU stack underflow
Accessing an unset part of the FPU stack should not be a simple warning, but should trigger the FPU exception mechanism.
This commit is contained in:
parent
0d6d780183
commit
83f50a1507
3 changed files with 6 additions and 15 deletions
|
@ -267,7 +267,7 @@ public:
|
|||
ValueWithShadow<u8> dl() const { return const_gpr8(X86::RegisterDL); }
|
||||
ValueWithShadow<u8> dh() const { return const_gpr8(X86::RegisterDH); }
|
||||
|
||||
long double fpu_get(u8 index) const { return m_fpu.fpu_get(index); }
|
||||
long double fpu_get(u8 index) { return m_fpu.fpu_get(index); }
|
||||
long double fpu_pop() { return m_fpu.fpu_pop(); }
|
||||
MMX mmx_get(u8 index) const { return m_fpu.mmx_get(index); };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue