10:36:16beachI eliminated the FIND-FUNCTION-CELL-INSTRUCTION entirely. Instead I just use a FUNCALL-INSTRUCTION and an ARGUMENT-INSTRUCTION to call the function-cell-finder function which is the first argument of the TOP-LEVEL-ENTER-INSTRUCTION.
10:38:33beachAnd with that, HIR-to-MIR is almost finished. I need to do something about the FIXNUM-DIVIDE-INSTRUCTION, but I suspect it should just translate into a machine DIV instruction.
10:39:10beachI have sort of tested HIR-to-MIR. Not by executing the resulting MIR program, but by checking that all the transformations execute with no errors.
10:39:48beachAnd I do that as part of the boot procedure, so the code is executed a lot.
10:46:04beachHmm, no, division is a bit more complicated, but probably not much.
10:50:31beachIt looks like a machine DIV followed by a left shift of the quotient, but not of the remainder.