Dr. Brian Callahan · @bcallah
859 followers · 3925 posts · Server bsd.network

A wild post appears!

Let's study the and 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 optimizer we've been working on.

briancallahan.net/blog/2022041

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

Last updated 2 years ago

Dr. Brian Callahan · @bcallah
859 followers · 3925 posts · Server bsd.network

A wild 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.

briancallahan.net/blog/2022033

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

Last updated 2 years ago