[PATCH] D41329: [X86][CET]: Adding full coverage of MC encoding for the CET instructions.<NFC>

Oren Ben Simhon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 13:14:21 PST 2018


oren_ben_simhon added a comment.

I added encoding test in the following review:
https://reviews.llvm.org/D40223

cet-encoding.s checks only 64 bit encoding of all CET instructions (IBT and SHSTK).
Since all instructions that are supported in 32 bit, are also supported in 64 bit, I am not sure 32 bit encoding test is required.

If you do think it is needed, there are some instructions that are missing in your test: incspp, endbr64, endbr32 and setssbsy.

For more information on CET, please read section 6 in the following document:
https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf


Repository:
  rL LLVM

https://reviews.llvm.org/D41329





More information about the llvm-commits mailing list