x86

x86 rss feed

{n} times faster than C - part two

In the last post, we wrote a tiny C program, compiled it, disassembled it, then tweaked that assembly to make it six times faster. Now we’re going to beat it.

Read more...

{n} times faster than C - part one

Sometimes humans can spot optimization opportunities that a compiler can’t doesn’t. In this post, we start with a loop generated from C code by clang, and tweak it in various ways, measuring the speedup.

Read more...
1 of 1