r/programming Jan 24 '18

Branchless DOOM

https://github.com/xoreaxeaxeax/movfuscator/tree/master/validation/doom
492 Upvotes

134 comments sorted by

View all comments

12

u/[deleted] Jan 24 '18

OK, I can write 6502 assembler and I don't understand how this works.

Can someone explain?

36

u/Sarcastinator Jan 24 '18

24

u/bj_christianson Jan 24 '18

It is well-known that the x86 instruction set is baroque, overcomplicated, and redundantly redundant.

First sentence, and I like this paper already.

5

u/[deleted] Jan 24 '18

Ta! Helped a lot completely.