SSE: why, technically, is 16-aligned data faster to move?

会有一股神秘感。 提交于 2019-12-25 18:43:16

问题


Is it a bus architecture issue? How is it circumvented in i7?

I'm aware of this, I just don't think it answers the real why.


回答1:


The processor is built to work with data of certain sizes and alignments. When you use data outside of those sizes and alignments, you effectively need to shift it into alignment, crop it, compute on it using the normal instructions, then shift it back into place.



来源:https://stackoverflow.com/questions/24963646/sse-why-technically-is-16-aligned-data-faster-to-move

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!