mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
UserspaceEmulator: Improve the MMX formatting on environment dump
This commit is contained in:
parent
83f50a1507
commit
2867d93115
Notes:
sideshowbarker
2024-07-18 01:25:34 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 2867d93115
Pull-request: https://github.com/SerenityOS/serenity/pull/8946
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 4 additions and 1 deletions
|
@ -110,7 +110,10 @@ private:
|
||||||
reportln("fpu-stacktop: {}", m_fpu_stack_top);
|
reportln("fpu-stacktop: {}", m_fpu_stack_top);
|
||||||
reportln("fpu-stack /w stacktop (real):");
|
reportln("fpu-stack /w stacktop (real):");
|
||||||
for (u8 i = 0; i < 8; ++i) {
|
for (u8 i = 0; i < 8; ++i) {
|
||||||
reportln("\t{} ({}): fp {} ({}), mmx (:x016)", i, (u8)((m_fpu_stack_top + i) % 8), m_storage[(m_fpu_stack_top + i) % 8].fp, fpu_is_set(i) ? "set" : "free", m_storage[(m_fpu_stack_top + i) % 8].mmx.raw);
|
reportln("\t{} ({}): fp {} ({}), mmx {:016x}",
|
||||||
|
i, (u8)((m_fpu_stack_top + i) % 8),
|
||||||
|
m_storage[(m_fpu_stack_top + i) % 8].fp, fpu_is_set(i) ? "set" : "free",
|
||||||
|
m_storage[(m_fpu_stack_top + i) % 8].mmx.raw);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue