News for hackers. Stuff that matters.
Re:C Is Not a Low-level Language (2018) by gavinray on Tuesday December 28, 2021 @09:39AM (#29714187)
What is a "pipeline model"?

Google doesn't give me any relevant results

EDIT: Think I found an answer

  > "Some very experienced programmer from another company told me about some low-level code-optimization tips that targeting specific CPU, including pipeline-optimization, which means, arrange the code (inlined assembly, obviously) in special orders such that it fit the pipeline better for the targeting hardware."
From https://stackoverflow.com/questions/14657247/pipeline-optimz...

Answer in comments point to this as a resource:

https://www.agner.org/optimize/

Re:C Is Not a Low-level Language (2018) by vnorilo on Tuesday December 28, 2021 @10:33AM (#29714657)
What I think of as "pipeline model" is similar to what LLVM-MCA produces in its "Timeline View" [1]

It basically tries to model statically how instructions travel through the pipeline of a particular CPU, which is useful for finding bottlenecks.

1: https://llvm.org/docs/CommandGuide/llvm-mca.html#timeline-vi...

Re:C Is Not a Low-level Language (2018) by capitalsigma on Tuesday December 28, 2021 @10:18AM (#29714529)
GP probably means something like IACA