A wild #blog post appears!

Let's study the #LLVM and #GCC optimizers around the question of increments and decrements and see how they differ. Then we can make a decision as to whether or not we want to teach those optimizations to our #QBE optimizer we've been working on.

https://briancallahan.net/blog/20220417.html

#compile #compilers #optimizer #optimizers #compile #optimize #unix #c #programming #program #bsd #openbsd #freebsd #netbsd #dragonflybsd #linux #cproc

Brian Robert Callahan

Brian Robert Callahan

A wild #blog post appears!

I wrote a peephole optimizer for QBE. QBE missed a couple of easy optimization wins, so let's use it as an opportunity to learn how peephole optimizers work and write one of our own.

https://briancallahan.net/blog/20220330.html

#compiler #compilers #compilation #compile #optimize #optimizer #optimizers #unix #openbsd #netbsd #freebsd #dragonflybsd #linux #c #cproc #qbe

Brian Robert Callahan

@ddevault #cproc is great! It compiled #scalableFont2 in under 9 seconds (12 times faster than gcc).
Runtime comparison, it had about 75% performance.

I'll definitely be using this for development on the pinephone (aarch64).