diff options
author | Gabor Buella <gabor.buella@intel.com> | 2018-05-01 10:01:16 +0000 |
---|---|---|
committer | Gabor Buella <gabor.buella@intel.com> | 2018-05-01 10:01:16 +0000 |
commit | c8ded04e850d3bb73dd9ffb9ebfb135246dbcf52 (patch) | |
tree | 514ac902e03ae177de2d33cb9c5a2962872fcc32 /llvm/utils/TableGen | |
parent | 2c85a23123f1d7d7a475967af8164557355eade3 (diff) | |
download | bcm5719-llvm-c8ded04e850d3bb73dd9ffb9ebfb135246dbcf52.tar.gz bcm5719-llvm-c8ded04e850d3bb73dd9ffb9ebfb135246dbcf52.zip |
[X86] movdiri and movdir64b instructions
Reviewers: spatel, craig.topper, RKSimon
Reviewed By: craig.topper, RKSimon
Differential Revision: https://reviews.llvm.org/D45983
llvm-svn: 331248
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index 1fb4cc4ee9f..848e2db35b0 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp @@ -301,6 +301,8 @@ InstructionContext RecognizableInstr::insnContext() const { insnContext = IC_64BIT_XD_OPSIZE; else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) insnContext = IC_64BIT_XS_OPSIZE; + else if (AdSize == X86Local::AdSize32 && OpPrefix == X86Local::PD) + insnContext = IC_64BIT_OPSIZE_ADSIZE; else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize32) insnContext = IC_64BIT_OPSIZE_ADSIZE; else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) @@ -328,6 +330,8 @@ InstructionContext RecognizableInstr::insnContext() const { insnContext = IC_XD_ADSIZE; else if (AdSize == X86Local::AdSize16 && OpPrefix == X86Local::XS) insnContext = IC_XS_ADSIZE; + else if (AdSize == X86Local::AdSize16 && OpPrefix == X86Local::PD) + insnContext = IC_OPSIZE_ADSIZE; else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize16) insnContext = IC_OPSIZE_ADSIZE; else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) |