简体   繁体   English

zen 3 CPU 上有多少条 AMD 专有指令?

[英]How many AMD exclusive instructions are there on zen 3 CPUs?

How many instructions on zen 3 CPUs are exclusive to AMD? zen 3 CPU 上有多少指令是 AMD 独有的?

I am aware of only 3: mwaitx , monitorx , and clzero我只知道 3 个: mwaitxmonitorxclzero

Also, the 3DNow!此外,3DNow! and lwp instruction sets were once AMD exclusive but they have since been removed.和 lwp 指令集曾经是 AMD 独有的,但后来被删除了。

Indeed, the three instructions MWAITX , MONITORX , and CLZERO are supported on AMD Zen3 and no Intel processor (yet).事实上,在 AMD Zen3 上支持三个指令MWAITXMONITORXCLZERO并且没有 Intel 处理器(目前)。

Zen3 also supports the SSE4a instruction set composed of 4 instructions ( EXTRQ , INSERTQ , MOVNTSD and MOVNTSS ) which is not supported by Intel. Zen3 还支持由 Intel 不支持的 4 条指令( EXTRQINSERTQMOVNTSDMOVNTSS )组成的SSE4a指令集。

It also supports the AMD-exclusive SEV-SNP instruction set (Secure Encrypted Virtualization - Secure Nested Paging) composed of 4 instructions ( PSMASH , PVALIDATE , RMPADJUST and RMPUPDATE ).它还支持由 4 条指令( PSMASHPVALIDATERMPADJUSTRMPUPDATE )组成的 AMD 独有的SEV-SNP指令集(安全加密虚拟化 - 安全嵌套分页)。 It should also support older related instruction sets like SEV-ES (Secure Encrypted Virtualization - Encrypted State) composed of the instruction VMGEXIT .它还应该支持旧的相关指令集,如由指令VMGEXIT组成的 SEV-ES(安全加密虚拟化 - 加密状态)。 All of this is part of AMD-V (all these abbreviations are a bit confusing).所有这些都是AMD-V的一部分(所有这些缩写都有些混乱)。 That being said, such instruction are typically available only on EPYC processors and not Ryzen ones.话虽如此,此类指令通常仅在 EPYC 处理器上可用,而在 Ryzen 处理器上不可用。 Moreover, AFAIK, Intel has similar instruction sets for this like for example Total Memory Encryption .此外,AFAIK,英特尔为此提供了类似的指令集,例如Total Memory Encryption The alternative of AMD-V is Intel VT-x . AMD-V 的替代品是Intel VT-x

Furthermore, the skinit instruction set (for security), which is (also) a part of AMD-V and composed of the 2 instructions SKINIT and STGI , is also AMD-specific.此外,skinit 指令集(为了安全)也是 AMD-V 的一部分,由两条指令SKINITSTGI ,也是 AMD 特定的。 It appears to be available on some Zen processors (including Zen3) but it is not clear exactly which one (it at least targets AMD Ryzen PRO processors).它似乎在某些 Zen 处理器(包括 Zen3)上可用,但尚不清楚具体是哪一个(它至少针对 AMD Ryzen PRO 处理器)。

Like 3DNow!, the FMA4 instruction set was exclusive to AMD.与 3DNow! 一样, FMA4指令集是 AMD 独有的。 It was certainly supported on Zen1 though it was not officially the case (not present in any AMD Zen-related document nor provided by the CPUID instruction). Zen1 肯定支持它,但官方并未支持(未出现在任何 AMD Zen 相关文档中,也未由 CPUID 指令提供)。 Indeed, multiple users reported the instruction set was working correctly (see [1] , [2] and [3] ).事实上,多个用户报告指令集工作正常(参见[1][2][3] )。 Zen2 and Zen3 certainly do not support it at all (see the comment of @PeterCordes). Zen2 和 Zen3 肯定根本不支持它(参见@PeterCordes 的评论)。 Officially, the AMD's TBM, FMA4, XOP and LWP instruction sets (previously available on the Bulldozer architecture) are not supported on all Zen architectures (see this ).正式地,并非所有 Zen 架构都支持 AMD 的 TBM、FMA4、XOP 和 LWP 指令集(以前在 Bulldozer 架构上可用)(请参阅)。

For more information, you can check the AMD's manual (vol 3, rev 3.33) .有关更多信息,您可以查看AMD 手册(第 3 卷,第 3.33 版)

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

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