Re:Original Age of Empires 2 dev talks about its usage of as...
by akoboldfrying on Sunday January 07, 2024 @08:02AM
(#38900856)
Didn't know VTune is free now, nor had I ever heard of IACA which looks very nice (and would have saved me a lot of brow-sweat)! Thanks.
Re:Original Age of Empires 2 dev talks about its usage of as...
by LegionMammal978 on Sunday January 07, 2024 @12:03PM
(#38902886)
Note that there's also the open-source uiCA [0], which similarly predicts scheduling and overall throughput for a basic block. Their benchmarks claim it to be more accurate than IACA and other tools for newer Intel CPUs, but I wouldn't be qualified to judge those claims.
A purely pen-and-paper tool was IACA; you simply inserted some macros around a bit of code in the binary and IACA simulated how these would/could be scheduled on a given core: https://stackoverflow.com/questions/26021337/what-is-iaca-an...