Agner`s CPU blog

Software optimization resources | E-mail subscription to this blog | www.agner.org

Stop the instruction set war
Author: Agner Fog Date: 2009-12-06 04:28
Thank you to Yuhong Bao and others for sending me information about more conflicts over the instruction code map.

The company Cyrix has used many codes on the 0F xx map for their instructions, apparently without having an agreement with Intel. See sandpile.org for a list. Many of these codes are now used for other purposes. For example the Cyrix instruction SMINT originally used the code 0F 7E. Later, Intel used the same code for the instruction MOVD, so Cyrix had to change their code for SMINT to 0F 38. Today, the latter code is also used by Intel. The Cyrix processors have been continued as AMD Geode processors where the conflicting codes are still used (including 0F 38), though they can be disabled.

Vacant codes are also needed by software producers for virtual instructions that can be emulated. Microsoft is using the code C4 C4 in Windows for such a purpose. This code now conflicts with the new VEX instructions, which is the reason why Intel had to disable VEX instructions in 16-bit real and virtual mode. Only two codes are reserved for software emulation. These are called UD1 (0F B9) and UD2 (0F 0B).

The instructions POPCNT and RDTSCP were implemented first by AMD and later copied by Intel.

[Corrections made 2009-12-07 and later thanks to Yuhong Bao and others]

 
thread Stop the instruction set war new - Agner Fog - 2009-12-05
replythread Stop the instruction set war - Agner Fog - 2009-12-06
last reply The instruction set war's effect on virtualization new - Yuhong Bao - 2009-12-28
reply Stop the instruction set war new - Agner Fog - 2009-12-15
replythread Stop the instruction set war new - Norman Yarvin - 2010-01-09
last replythread Stop the instruction set war new - Agner Fog - 2010-01-10
last replythread Stop the instruction set war new - bitRAKE - 2010-01-12
last replythread Stop the instruction set war new - Agner Fog - 2010-01-13
last reply Pentium Appendix H new - Yuhong Bao - 2010-02-10
replythread Stop the instruction set war new - Agner Fog - 2010-09-25
last reply Stop the instruction set war new - Agner - 2011-08-28
replythread Stop the instruction set war new - Ruslan - 2016-04-17
last reply Stop the instruction set war new - Agner - 2016-04-17
last reply Stop the instruction set war new - Agner - 2020-11-01