UserspaceEmulator: Improve the MMX formatting on environment dump

This commit is contained in:
Hendiadyoin1 2021-09-04 16:35:05 +02:00 committed by Linus Groh
parent 83f50a1507
commit 2867d93115
Notes: sideshowbarker 2024-07-18 01:25:34 +09:00

View file

@ -110,7 +110,10 @@ private:
reportln("fpu-stacktop: {}", m_fpu_stack_top);
reportln("fpu-stack /w stacktop (real):");
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);
}
}