Skip to content

orcc: Add --binary mode for dumping the machine and assembly code outputs

amyspark requested to merge amyspark/orc:amyspark/avx/orcc into main

Hey all,

This is a MR to add a --binary mode to the orcc compiler. It allows users to dump the generated machine code to a .bin file, for perusal in the disassembler of their choice. I've also added the .S (binutils output) to the set, so that future developers can compare the codegen.

This was done as part of !111 (merged) and was split here for ease of review.

cc @slomo

Merge request reports