Hasty Briefsbeta

Bilingual

QBE – Compiler Back end: Version 1.3

4 hours ago
  • #QBE compiler update
  • #new features
  • #optimization improvements
  • QBE 1.3 is a major release with 7k new lines of code and 1.5k deleted, including bug fixes, a new IL matching algorithm, Windows ABI support, and position-independent code generation.
  • Optimizations were driven by coremark benchmark analysis, focusing on functions ee_isdigit and crcu8, leading to improved performance (63% of commercial compilers) and Hare test suite improvements (33% faster).
  • A new OCaml tool, mgen, automates IL pattern matching via metaprogramming, replacing hand-written logic and enabling future backend simplifications.
  • Windows ABI support added via Scott Graham's contribution, allowing compilation with -t amd64_win.
  • Enhanced position-independent code support through a new DYNCONST flag for indirect global access, enabling shared object production.