aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-10-25 20:40:45 -0700
committerCraig Topper <craig.topper@gmail.com>2020-10-25 20:56:01 -0700
commit82974e0114f02ffc07557e217d87f8dc4e100a26 (patch)
treed6860e4256947fd2935bc0b777ad68687ac2f911 /clang/lib/CodeGen/CodeGenFunction.cpp
parent180548c5c7848f82ceac5d6a3528a8cb14c20fed (diff)
downloadllvm-82974e0114f02ffc07557e217d87f8dc4e100a26.zip
llvm-82974e0114f02ffc07557e217d87f8dc4e100a26.tar.gz
llvm-82974e0114f02ffc07557e217d87f8dc4e100a26.tar.bz2
[X86] Don't disassemble wbinvd with 0xf2 or 0x66 prefix.
The 0xf3 prefix has been defined as wbnoinvd on Icelake Server. So the prefix isn't ignored by the CPU. AMD documentation suggests that wbnoinvd is treated as wbinvd on older processors. Intel documentation is not clear. Perhaps 0xf2 and 0x66 are treated the same, but its not documented. This patch changes TB to PS in the td file so 0xf2 and 0x66 will be treated as errors. This matches versions of objdump after wbnoinvd was added.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions