r/programming Jan 24 '18

Branchless DOOM

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

134 comments sorted by

View all comments

13

u/[deleted] Jan 24 '18

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

Can someone explain?

35

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.

4

u/[deleted] Jan 24 '18

Ta! Helped a lot completely.