1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/tools/llvm-exegesis
Craig Topper ef35532c13 [X86] Ignore bits 2:0 of the modrm byte when disassembling lfence, mfence, and sfence.
These are documented as using modrm byte of 0xe8, 0xf0, and 0xf8
respectively. But hardware ignore bits 2:0. So 0xe9-0xef is treated
the same as 0xe8. Similar for the other two.

Fixing this required adding 8 new formats to the X86 instructions
to convey this information. Could have gotten away with 3, but
adding all 8 made for a more logical conversion from format to
modrm encoding.

I renumbered the format encodings to keep the register modrm
formats grouped together.
2020-06-19 22:24:24 -07:00
..
lib [X86] Ignore bits 2:0 of the modrm byte when disassembling lfence, mfence, and sfence. 2020-06-19 22:24:24 -07:00
CMakeLists.txt [llvm] Disable linking llvm-exegesis to dylib 2020-06-17 19:00:26 +02:00
llvm-exegesis.cpp [llvm-exegesis] 'Min' repetition mode 2020-04-02 09:28:35 +03:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00