capstone2llvmir/x86: generate BND registers

This commit is contained in:
Peter Matula 2023-05-04 10:15:53 +02:00
parent 2fe1f1b9aa
commit 02d4cfe2c8
2 changed files with 12 additions and 0 deletions

View File

@ -526,6 +526,12 @@ void Capstone2LlvmIrTranslatorX86_impl::generateRegistersCommon()
createRegister(X86_REG_ZMM30, _regLt);
createRegister(X86_REG_ZMM31, _regLt);
// BND
createRegister(X86_REG_BND0, _regLt);
createRegister(X86_REG_BND1, _regLt);
createRegister(X86_REG_BND2, _regLt);
createRegister(X86_REG_BND3, _regLt);
// Debug registers.
//
createRegister(X86_REG_DR0, _regLt);

View File

@ -370,6 +370,12 @@ void Capstone2LlvmIrTranslatorX86_impl::initializeRegTypeMap()
{X86_REG_ZMM30, i512},
{X86_REG_ZMM31, i512},
// BND
{X86_REG_BND0, i128},
{X86_REG_BND1, i128},
{X86_REG_BND2, i128},
{X86_REG_BND3, i128},
// x86_reg_rflags
//
{X86_REG_CF, i1},