19.3 Flags stalls after shifts and rotates


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

19.3 Flags stalls after shifts and rotates

You can get a stall resembling the partial flags stall when reading any flag bit after a shift or rotate, except for shifts and rotates by one (short form):

SHR EAX,1 / JZ XX ; no stall SHR EAX,2 / JZ XX ; stall SHR EAX,2 / OR EAX,EAX / JZ XX ; no stall SHR EAX,5 / JC XX ; stall SHR EAX,4 / SHR EAX,1 / JC XX ; no stall SHR EAX,CL / JZ XX ; stall, even if CL = 1 SHRD EAX,EBX,1 / JZ XX ; stall ROL EBX,8 / JC XX ; stall

The penalty for these stalls is approximately 4 clocks.

标签: MMX 优化

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

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

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

 

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