diff options
author | Gabor Buella <gabor.buella@intel.com> | 2018-04-23 20:00:59 +0000 |
---|---|---|
committer | Gabor Buella <gabor.buella@intel.com> | 2018-04-23 20:00:59 +0000 |
commit | 213a7cda1fc775b26f94013982f252c08e57d15e (patch) | |
tree | 87ff0a7bf2820e0cb57b39dc449dea3d29dd663f /llvm/utils/TableGen/X86RecognizableInstr.cpp | |
parent | b387b6e6dc3a7b1b1a9b5551109d124ce2afda76 (diff) | |
download | bcm5719-llvm-213a7cda1fc775b26f94013982f252c08e57d15e.tar.gz bcm5719-llvm-213a7cda1fc775b26f94013982f252c08e57d15e.zip |
[X86] movdiri and movdir64b instructions
Reviewers: craig.topper
llvm-svn: 330638
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-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 80ebaa317e7..6590ae4cf2e 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) |