Skip to content

Commit

Permalink
Add missing subranges in MachRegister::getROSERegister
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Nov 18, 2023
1 parent 2fcb03c commit a55ed05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common/h/registers/x86_64_regs.h
Expand Up @@ -308,10 +308,7 @@ namespace Dyninst { namespace x86_64 {
DEF_REGISTER( xmm29, 0x1D | XMMS | XMM | Arch_x86_64, "x86_64");
DEF_REGISTER( xmm30, 0x1E | XMMS | XMM | Arch_x86_64, "x86_64");
DEF_REGISTER( xmm31, 0x1F | XMMS | XMM | Arch_x86_64, "x86_64");
<<<<<<< Updated upstream
=======

>>>>>>> Stashed changes
DEF_REGISTER( ymm0, 0x00 | YMMS | YMM | Arch_x86_64, "x86_64");
DEF_REGISTER( ymm1, 0x01 | YMMS | YMM | Arch_x86_64, "x86_64");
DEF_REGISTER( ymm2, 0x02 | YMMS | YMM | Arch_x86_64, "x86_64");
Expand Down
2 changes: 2 additions & 0 deletions common/src/registers/MachRegister.C
Expand Up @@ -996,6 +996,8 @@ namespace Dyninst {
case x86_64::XMMS:
case x86_64::MMS:
case x86_64::KMSKS:
case x86_64::YMMS:
case x86_64::ZMMS:
case x86_64::FPDBL: p = x86_regpos_qword; break;
case x86_64::H_REG: p = x86_regpos_high_byte; break;
case x86_64::L_REG: p = x86_regpos_low_byte; break;
Expand Down

0 comments on commit a55ed05

Please sign in to comment.