mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-31 05:17:12 +00:00
tcg: Optionally log FPU state in TCG -d cpu logging
Usually the logging of the CPU state produced by -d cpu is sufficient to diagnose problems, but sometimes you want to see the state of the floating point registers as well. We don't want to enable that by default as it adds a lot of extra data to the log; instead, allow it to be optionally enabled via -d fpu. Backports relevant parts of commit ae7651804748c6b479d5ae09aeac4edb9c44f76e from qemu
This commit is contained in:
parent
070276faf6
commit
3dddb8564f
|
@ -36,6 +36,7 @@ static inline bool qemu_log_enabled(void)
|
|||
#define CPU_LOG_PAGE (1 << 14)
|
||||
#define LOG_TRACE (1 << 15)
|
||||
#define CPU_LOG_TB_OP_IND (1 << 16)
|
||||
#define CPU_LOG_TB_FPU (1 << 17)
|
||||
|
||||
/* Returns true if a bit is set in the current loglevel mask
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue