I should point out that the blame credit for the "branch over unconditional jump" trick properly belongs to aaroncrane. The idea to do it all in the assembly-emission pass (rather than, say, doing it in IR and fixing up the control-flow graph accordingly) was all mine, though. As was the decision to create a new L_BRCC_HACK goto-label family (using raw printfs) rather than trying to work out how to access the existing label-creation system.
Comments 4
Reply
I should point out that the blame credit for the "branch over unconditional jump" trick properly belongs to aaroncrane. The idea to do it all in the assembly-emission pass (rather than, say, doing it in IR and fixing up the control-flow graph accordingly) was all mine, though. As was the decision to create a new L_BRCC_HACK goto-label family (using raw printfs) rather than trying to work out how to access the existing label-creation system.
Reply
Reply
Reply
Leave a comment