News for hackers. Stuff that matters.
Re:(Debugging Story) Inline Assembly Dangers by Joker_vD on Monday June 10, 2024 @12:09PM (#40635099)
> Compiler shouldn't pipeline anything

Yeah, tell it to the researchers in the 90s who spent that decade on teaching their compilers to properly schedule the instructions for maximum throughput, and unrolling the loops to so that all of the 32 registers could be used, and accounting for the available execution units to hide latency etc. Sure, x86 nowadays do most of that in the hardware but still, even today, moving the loads to as early as possible is beneficial for hiding their latency because even a hyper-speculative, out-of-order processor can't start executing an instruction it hasn't fetched yet.

Re:(Debugging Story) Inline Assembly Dangers by P_I_Staker on Monday June 10, 2024 @09:40PM (#40641365)
> Yeah, tell it to the researchers in the 90s

I will.