英文:
What does the "P" prefix stand for in the x86 instruction PCLMULQDQ?
问题
在Carry-less Multiplication x86指令PCLMULQDQ
中,前缀“P”代表什么?
我已查阅以下来源,但没有一个解释这个助记符。
- https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=clmul
- https://www.felixcloutier.com/x86/pclmulqdq
- https://en.wikipedia.org/wiki/CLMUL_instruction_set
其次,“QDQ”代表什么?
英文:
In the Carry-less Multiplication x86 instruction, PCLMULQDQ
, what does the "P" prefix stand for?
I've looked in these sources, but none of them explain the mnemonics.
- https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=clmul
- https://www.felixcloutier.com/x86/pclmulqdq
- https://en.wikipedia.org/wiki/CLMUL_instruction_set
Secondly, what does "QDQ" stand for?
答案1
得分: 4
P 代表压缩(整数)。 所有 SSE/AVX 整数指令的助记符都以 p
开头,如 paddb
。(或 AVX 版本的 vp
)。与 ...ps
(压缩单精度)和 ...pd
压缩双精度指令相对应。
Q 代表源操作数的四分之一字(64 位)乘以双四分之一字(128 位)整数块。
英文:
P is for Packed (integer). All SSE/AVX integer instructions have mnemonics starting with p
, like paddb
. (Or vp
for the AVX versions). As opposed to ...ps
(packed-single) and ...pd
packed-double instructions.
Q for Quad-word (64-bit) chunks of the source operand multiplying into a double-quad (128-bit) integer.
Related:
- https://stackoverflow.com/questions/39645078/what-comes-after-qword including meaning of mnemonics like
punpcklqdq
as an example of wheredq
is used instead ofo
(octword like scalarcqo
), for interleaving 64-bit chunks to make a 128-bit, following the same pattern aspunpcklwd
(16 bit interleave). - https://stackoverflow.com/questions/37308438/how-can-microsoft-say-the-size-of-a-word-in-winapi-is-16-bits the 8086 history of "word" being 16-bit in x86, not rewriting the documentation for 386 or x86-64. It gets baked into many mnemonics like scalar
cbw
as well as SIMD element sizes. - https://stackoverflow.com/questions/55430725/whats-the-size-of-a-qword-on-a-64-bit-machine (the terminology depends on the ISA.)
- https://stackoverflow.com/questions/70911872/what-are-the-names-and-meanings-of-the-intrinsic-vector-element-types-like-epi6 focuses on intrinsic names, not asm mnemonics.
- https://stackoverflow.com/questions/44989391/meaning-of-suffix-x-in-intrinsics-like-mm256-set1-epi64x - more intrinsics stuff.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论