What they did
They have a C to microcode compiler written in C, mostly built with Claude back in the Opus 4.6/4.8 era. As a stress test over a couple of days, they gave a Qwen model they run locally the compiler’s docs and asked it to implement it in OCaml, using the original compiler as a golden reference. The pipeline parses C to an AST, lowers it to an IR, runs optimization passes and emits microcode, plus Verilog that loads and runs the microcode in Verilator simulations to confirm it works.
How it went
It’s basically at the point the original compiler had reached. Asked for new optimizations, it came up with a couple that reduce microcode lines by up to 30% in some cases, ideas Claude didn’t come up with on the original even though, as they recall, they prompted it several times. They put it at Opus 4.8 level, at least, and exceeding it in some ways.