29.3 MMX instructions (PII and PIII)


日期: 2000-04-03 14:00 | 联系我
关注我: Telegram, Twitter

29.3 MMX instructions (PII and PIII)
InstructionOperandsmicro-opsdelaythroughput
p0p1p01p2p3p4
MOVD MOVQr,r12/1
MOVD MOVQr64,m32/6411/1
MOVD MOVQm32/64,r64111/1
PADD PSUB PCMPr64,r6411/1
PADD PSUB PCMPr64,m64111/1
PMUL PMADDr64,r64131/1
PMUL PMADDr64,m641131/1
PAND PANDN POR

PXOR

r64,r6412/1
PAND PANDN POR

PXOR

r64,m64111/1
PSRA PSRL PSLLr64,r64/i11/1
PSRA PSRL PSLLr64,m64111/1
PACK PUNPCKr64,r6411/1
PACK PUNPCKr64,m64111/1
EMMS116 k)
MASKMOVQ d)r64,r64 1 1 12-81/30-1/2
PMOVMSKB d)r32,r64 1 1 1/1
MOVNTQ d)m64,r64 1 11/30-1/1
PSHUFW d)r64,r64,i 1 1 1/1
PSHUFW d)r64,m64,i 1 1 2 1/1
PEXTRW d)r32,r64,i 1 1 2 1/1
PISRW d)r64,r32,i 1 1 1/1
PISRW d)r64,m16,i 1 1 2 1/1
PAVGB PAVGW d)r64,r64 1 1 2/1
PAVGB PAVGW d)r64,m64 1 1 2 1/1
PMINUB PMAXUB PMINSW PMAXSW d)r64,r64< /TD> 1 1 2/1
PMINUB PMAXUB PMINSW PMAXSW d)r64,m64 1 1 2 1/1
PMULHUW d)r64,r64 1 3 1/1
PMULHUW d)r64,m64 1 1 4 1/1
PSADBW d)r64,r64 2 1 5 1/2
PSADBW d)r64,m64 2 1 1 6 1/2
Notes:

d) PIII only.

k) you may hide the delay by inserting other instructions between EMMS and any subsequent floating point instruction.

标签: MMX 优化

 文章评论
目前没有任何评论.

↓ 快抢占第1楼,发表你的评论和意见 ↓

当前页面是本站的 Google AMP 版本。
欲查看完整版本和发表评论请点击:完整版 »

 

程序员小辉 建站于 1997
Copyright © XiaoHui.com; 保留所有权利。