Reputation: 870
What is the difference between non-packed and packed instruction in the context of SIMD-operations?
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
"As an added bonus, movss is a non-packed instruction, which allows us to make better use of the parallel instruction decoders.."
So what is the difference?
Upvotes: 5
Views: 1623
Reputation: 706
SSE supports two modes of operation:
Upvotes: 4
Reputation: 17605
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.
Upvotes: 4