Skip to content

Commit

Permalink
Reorder register categories
Browse files Browse the repository at this point in the history
This puts them in more of a chronological order.
  • Loading branch information
hainest committed Nov 17, 2023
1 parent 1a31432 commit cd87137
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions common/h/registers/x86_64_regs.h
Expand Up @@ -77,17 +77,17 @@ namespace Dyninst { namespace x86_64 {
/* Register Categories */
const signed int GPR = 0x00010000; // General-Purpose Registers
const signed int SEG = 0x00020000; // Segment Registers
const signed int FLAG = 0x00030000; // EFLAGS Register
const signed int FLAG = 0x00030000; // RFLAGS Register
const signed int MISC = 0x00040000; // Internal ProcControlAPI Register
const signed int KMASK = 0x00050000; // K0-K7 opmask Registers from AVX-512
const signed int XMM = 0x00060000; // XMM0-XMM7 Registers from SSE
const signed int YMM = 0x00070000; // YMM0-YMM7 Registers from AVX2/FMA
const signed int ZMM = 0x00080000; // ZMM0-ZMM7 Registers from AVX-512
const signed int CTL = 0x00050000; // Control Registers CR0-CR7
const signed int DBG = 0x00060000; // Debug Registers DR0-DR7
const signed int TST = 0x00070000; // Internal InstructionAPI Registers
const signed int X87 = 0x00080000; // x87 FPU Registers
const signed int MMX = 0x00090000; // MM0-MM7 Registers
const signed int CTL = 0x000A0000; // Control Registers CR0-CR7
const signed int DBG = 0x000B0000; // Debug Registers DR0-DR7
const signed int TST = 0x000C0000; // Internal InstructionAPI Registers
const signed int X87 = 0x000D0000; // x87 FPU Registers
const signed int XMM = 0x000A0000; // XMM0-XMM7 Registers from SSE
const signed int YMM = 0x000B0000; // YMM0-YMM7 Registers from AVX2/FMA
const signed int ZMM = 0x000C0000; // ZMM0-ZMM7 Registers from AVX-512
const signed int KMASK = 0x000D0000; // K0-K7 opmask Registers from AVX-512
const signed int FLAGS = 0x00000000; // RFLAGS Register
const signed int BASEA = 0x0;
const signed int BASEC = 0x1;
Expand Down

0 comments on commit cd87137

Please sign in to comment.