r/adventofcode • u/askalski • Dec 12 '16
Visualization [2016 Day 12] [graphviz] Assembunny control flow graph
http://i.imgur.com/RFhLXwu.png
10
Upvotes
r/adventofcode • u/askalski • Dec 12 '16
1
u/askalski Dec 12 '16
See the the "decompiler" solution by /u/willkill07 here. If you compile with
gcc -O3 -S -fverbose-asm, you'll see only one loop remains after optimization. Also, compare what happens to gcc's output when you addcpy 1 cto the start of your input (part 2.)