ada dudu
ada dudu

Reputation: 49

Instruction level parallelism vs SIMD

What are the similarities and differences between instruction level parallelism and SIMD (ingle instruction, multiple data)? I know that they both work with multiple instructions, but that's the only similarity I can think about.

Upvotes: 0

Views: 1324

Answers (1)

Peter Cordes
Peter Cordes

Reputation: 364428

SIMD is having each instruction process multiple items. ILP is about having multiple dependency chains so multiple instructions can be in flight at once.

They are orthogonal; to max out Haswell's FMA throughput, you need to keep 10 FMAs in flight, each one operating on a vector of 8 single-precision elements.

The tag wiki has lots of links, especially Agner Fog's Optimizing Assembly and microarchitecture guides to understand more about throughput vs. latency.

Upvotes: 3

Related Questions