diff options
author | Hendiadyoin1 <leon2002.la@gmail.com> | 2021-09-04 16:35:05 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-11-07 22:42:23 +0000 |
commit | 2867d93115b36aa6e0938e7cbda5054b8aa324c4 (patch) | |
tree | 0997a6ef3b565c4b2767b01a6d854a108f8011c4 /Userland/DevTools/UserspaceEmulator/SoftFPU.h | |
parent | 83f50a1507cd7d1015828f72d490cb53c3a2c98f (diff) | |
download | serenity-2867d93115b36aa6e0938e7cbda5054b8aa324c4.zip |
UserspaceEmulator: Improve the MMX formatting on environment dump
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/SoftFPU.h')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/SoftFPU.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/SoftFPU.h b/Userland/DevTools/UserspaceEmulator/SoftFPU.h index d5e4eaf42f..acc2109802 100644 --- a/Userland/DevTools/UserspaceEmulator/SoftFPU.h +++ b/Userland/DevTools/UserspaceEmulator/SoftFPU.h @@ -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); } } |