在 SIMD 操作的上下文中,非打包指令和打包指令有什么区别? [英] What is the difference between non-packed and packed instruction in the context of SIMD-operations?
问题描述
在 SIMD 操作的上下文中,非压缩指令和压缩指令有什么区别?
What is the difference between non-packed and packed instruction in the context of SIMD-operations?
我正在阅读一篇关于优化 SSE 代码的文章:
I was reading an article on optimizing your code for SSE:
http://www.cortstratton.org/articles/OptimizingForSSE.php#batch
当我阅读时出现了这个问题
and this question arose when I read
作为一个额外的好处,movss 是一个非打包指令,它使我们能够更好地利用并行指令解码器.."
"As an added bonus, movss is a non-packed instruction, which allows us to make better use of the parallel instruction decoders.."
那有什么区别?
推荐答案
据我所知,packed 意味着概念上不止一个值被传输或用作操作数,而 non-打包表示只处理一个值;非打包意味着不进行并行处理.
To my understanding, packed means that conceptually more than one value is transferred or used as an operand, whereas non-packed means that only one value is is processed; non-packed means that no parallel processing takes place.
这篇关于在 SIMD 操作的上下文中,非打包指令和打包指令有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!