News for hackers. Stuff that matters.
Re:Branchless Doom by MaxBarraclough on Wednesday January 24, 2018 @05:21AM (#16221654)
It's neat, and rather funny.

To see an unmodified real-world C program run on a real-world hardware architecture, completely branchless, is pretty damn neat.

The way it takes hours to render a frame of DOOM is hilarious.

I wonder if the compiler will be optimised in future.

Re:Branchless Doom by earenndil on Wednesday January 24, 2018 @08:14PM (#16227956)
> unmodified

You have to patch the source though...

Re:Branchless Doom by MaxBarraclough on Thursday January 25, 2018 @04:55AM (#16229855)
Oops, you're right! I thought it was only the build system that had to be adjusted.

About half of the code-changes are just to avoid alloca.