intelxed / xed

The X86 Encoder Decoder (XED), is a software library for encoding and decoding X86 (IA32 and Intel64) instructions
https://intelxed.github.io/
Apache License 2.0
1.38k stars 146 forks source link

ENQCMDS should have CPL=0 #311

Closed sehftz closed 3 months ago

sehftz commented 6 months ago

Currently in this file the ENQCMDS instruction has CPL=3, however in Intel's SDM Volume 2 Chapter 3.3 "ENQCMDS—Enqueue Command Supervisor", it says "The ENQCMDS instruction may be executed only if CPL = 0".

marjevan commented 6 months ago

Thanks for your report. A fix will be available with the upcoming external release.

marjevan commented 3 months ago

Solved this in https://github.com/intelxed/xed/commit/6d87b5481aa53b5ab1fc2b5a5622759c46746bf9