Re:Deprecating the PCOMMIT Instruction
by moosecombinator on Thursday September 15, 2016 @08:24AM
(#12505473)
Author here. The PCOMMIT encoding you mention produces an undefined opcode fault on all existing CPUs (written as #UD in the specs). Since no CPU has shipped supporting PCOMMIT, this gives us high confidence that no code containing PCOMMIT is currently in-use or it would be producing #UD faults. Since the need for PCOMMIT has gone away, that fact allowed us to remove the instruction before it created legacy code we'd be signed up to support forever.
I love your examples of other removals -- didn't know about those.
It looks like the encoding of PCOMMIT (+66 0F AE/7) is basically the same as CLFLUSH except with a +66 prefix, so if a CPU doesn't know about PCOMMIT it'll probably try to execute it as a CLFLUSH with an ignored prefix.
But hopefully this "deprecated" information stays around, if for nothing other than "archaeological" purposes:
http://www.os2museum.com/wp/curious-instructions/