Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is Vector SIMD?

SIMD vector
0
Posted

What is Vector SIMD?

0

The AltiVec unit is classified as a vector SIMD unit, since it operates on multiple elements (in a vector register) with one instruction (SIMD = single instruction, multiple data). For example, array A is a 16 bit integer with 8 elements: 1 2 3 4 5 6 7 8 And array B has these 8 elements: 80 70 60 50 40 30 20 10 If we want to add these arrays together, then if they are each fetched into a vector register, one vector SIMD instruction can provide the result: 81 72 63 54 45 36 27 18 Many modern microprocessors are including vector SIMD capabilities, so restructuring a program to make it more vectorizable may be useful for lots of target systems.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.