mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Include flags register.
This commit is contained in:
parent
611bfe49df
commit
47b8f052bd
@ -48,7 +48,7 @@ static constexpr MicroArchUx s_uArchUx[] = {
|
||||
};
|
||||
|
||||
static constexpr const char* s_regNameX86[] = {
|
||||
"invalid",
|
||||
"invalid", "rflags",
|
||||
"rax", "rbx", "rcx", "rdx", "rsi", "rdi", "rbp", "rsp", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",
|
||||
"mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7",
|
||||
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", "xmm8", "xmm9",
|
||||
@ -96,6 +96,7 @@ SourceView::SourceView( ImFont* font )
|
||||
|
||||
memset( s_regMapX86, 0, sizeof( s_regMapX86 ) );
|
||||
|
||||
s_regMapX86[X86_REG_EFLAGS] = RegsX86::flags;
|
||||
s_regMapX86[X86_REG_AH] = RegsX86::rax;
|
||||
s_regMapX86[X86_REG_AL] = RegsX86::rax;
|
||||
s_regMapX86[X86_REG_AX] = RegsX86::rax;
|
||||
|
@ -22,7 +22,7 @@ class SourceView
|
||||
public:
|
||||
enum class RegsX86 : uint8_t
|
||||
{
|
||||
invalid,
|
||||
invalid, flags,
|
||||
rax, rbx, rcx, rdx, rsi, rdi, rbp, rsp, r8, r9, r10, r11, r12, r13, r14, r15,
|
||||
mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7,
|
||||
xmm0, xmm1, xmm2, xmm3, xmm4, xmm5, xmm6, xmm7, xmm8, xmm9,
|
||||
|
Loading…
Reference in New Issue
Block a user