Studying Agner Fog 2: Unrolling Loops and Dependency Chains

Опубликовано: 23 Октябрь 2024
на канале: Creel
15,014
549

In this video we'll cover techniques to break dependency chains, and how to unroll a loop. We explore two different algorithms; summing an array of doubles, and then computing the Standard Deviation of a floating point array. We look at versions in both C++ and Assembly language.

Cheers to Agner Fog for his amazing work, and for his kind review and suggestions in the final edit :)

Agner Fog's website:
https://www.agner.org/optimize/

Or support by purchasing Official merchandise:
https://teespring.com/stores/whats-a-...

Support What's a Creel? on Patreon:
  / whatsacreel  

FaceBook:
  / whatsacreel  

Other Channel:
   / @ftlol6091  

Music Channel:
https://www.youtube.com/channel/UC2nW...

Software used to make this vid:

Visual Studio 2017 Community:
https://www.visualstudio.com/downloads/

OBS:
https://obsproject.com/

Davinci Resolve 16:
https://www.blackmagicdesign.com/prod...

ASM Dude VS 2017 Extension:
https://marketplace.visualstudio.com/...