On 8/31/22 19:11, Tom Clark wrote:
I've done a lot of digging in the source and found the code_gen_buffer and determined
that's where the IR generation is being written to
That's not IR generation, but the JIT compiler output.
There's no sequential "byte" format. There's struct TCGOp, which is the double-linked
list of operations and its parameters, which are (encoded) TCGTemp and constants, and you
need tcg_op_defs[] to interpret them.
See e.g. tcg_optimize() for how to iterate through the list and interpret each
opcode.
r~