简体   繁体   English

所有实现AMD64指令集的CPU是否都具有相同的指令和寄存器?

[英]Are all of the CPUs that implement the AMD64 instruction set have the same instructions and registers?

The CPUs that implement the IA-32 instruction set (which is the 32-bit x86 instruction set) do not have the same instructions and registers, for example the Intel Pentium III have the SSE registers and instructions which are not present in the Intel Pentium II. 实现IA-32指令集(32位x86指令集)的CPU没有相同的指令和寄存器,例如Intel Pentium III具有SSE寄存器和Intel Pentium中不存在的指令二。

But what about the CPUs that implement the AMD64 instruction set (which is the 64-bit x86 instruction set), do these CPUs have the same instructions and registers (what I mean is: is there some AMD64 CPU that have more instructions and registers than another AMD64 CPU, in the same way that there are IA-32 CPUs that have more instructions and registers than other IA-32 CPUs)? 但是实现AMD64指令集(64位x86指令集)的CPU呢,这些CPU是否具有相同的指令和寄存器(我的意思是:是否有一些AMD64 CPU的指令和寄存器比另一个AMD64 CPU,就像IA-32 CPU比其他IA-32 CPU具有更多的指令和寄存器一样吗?

All AMD64 CPUs have the following features: 所有AMD64 CPU具有以下功能:

  • the full i686 instruction set 完整的i686指令集
  • a full Pentium Pro compatible x87 FPU with MMX 具有MMX的与Pentium Pro完全兼容的x87 FPU
  • SSE, and SSE2 SSE和SSE2

Some early AMD64 CPUs miss the sahf and lahf instructions in long mode. 一些早期的AMD64 CPU在长模式下会错过sahflahf指令。

Additional instruction set extensions such as SSE3, AVX, fisttp, and BMI are not guaranteed to be supported. 不保证支持其他指令集扩展,例如SSE3,AVX,fisttp和BMI。

Not everything is equal: 并非所有事物都是平等的:

Intel's x86 CPUs support the sysenter instruction in 64-bit mode, AMD's CPUs (at least older ones) do not. 英特尔的x86 CPU在64位模式下支持sysenter指令,而AMD的CPU(至少是较旧的CPU)不支持。

On the other hand AMD's CPUs support syscall in 32-bit mode, but Intel's 64-bit CPUs (at least older ones) do not. 另一方面,AMD的CPU在32位模式下支持syscall ,而Intel的64位CPU(至少是较旧的CPU)不支持。

I'm sure that this is not the only difference in existing and/or future AMD64 CPUs. 我确信这不是现有和/或将来的AMD64 CPU的唯一区别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM