mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
ed9b546976
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.
5 lines
121 B
Plaintext
5 lines
121 B
Plaintext
# RUN: llvm-mc --disassemble %s -triple=x86_64 2>&1 | FileCheck %s
|
|
|
|
# CHECK: invalid instruction encoding
|
|
0xf2,0x0f,0x09
|