Studying Agner Fog 2: Unrolling Loops and Dependency Chains @WhatsACreel
Studying Agner Fog 2: Unrolling Loops and Dependency Chains  @WhatsACreel
Uploaded June 2019 | Updated November 2026, 2 days ago
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:
agner.org/optimize

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

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

FaceBook:
facebook.com/whatsacreel

Other Channel:
youtube.com/channel/UCK7bPumWNzWRnb3N8LCzKsA

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

Software used to make this vid:

Visual Studio 2017 Community:
visualstudio.com/downloads

OBS:
obsproject.com

Davinci Resolve 16:
blackmagicdesign.com/products/davinciresolve

ASM Dude VS 2017 Extension:
marketplace.visualstudio.com/items?itemName=Henk-JanLebbink.AsmDude
Studying Agner Fog 2: Unrolling Loops and Dependency ChainsDirect2D Tutorial 5: Brushes and ShapesC++ Tutorial 14: 2D ArraysHow to Swap Two Variables Using XORASM Optimization: Fast Multiplicationx64 Assembly MultiThreading 1: Intro and Calling CreateThreadNeural Net Structure (Architecture)AES Encryption 2: AddRoundKey, SubBytes and ShiftRowsx64 Assembly Self Modifying CodeLinux x64 Assembly Tutorial 7: Jump and Branch InstructionsNVIDIA CUDA Tutorial 3: Display Driver has Stopped Working and has RecoveredAssembly Language Misconceptions
Creel |

Studying Agner Fog 2: Unrolling Loops and Dependency Chains

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER