You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor dead_load_with_context so we can capture pre- and post-instruction offsets.
x64 movq instructions are usually 3 bytes but grow to 4 when the source reg is R12 (or RSP). We'll need to know which at each callsite so we can both identify MMU-driven epoch interrupts (beginning offset) and resume at the right location (ending offset).
Also...
* Store the dead load's result to r10, which we're clobbering anyway, to save a reg.
* Remove the x64_dead_load_with_context layer.
;; Put vmctx into rdi. TODO: Do we have to shove context in a different reg first? The type system seems happy to allow it without.
3586
-
;; Actually, I suspect we don't even need to do this move; because we use reg_fixed_use() to constrain the `context` arg of DeadLoadWithContext to RDI, I hypothesize regalloc will insert any MOV needed to make that so. It is, after all, in the business of inserting MOVs for spills.
0 commit comments