Add instructions for efficient Div and Mul by (powers of) 2
In data_to_word (i.e., the closLang ops).
@myreen Can't this be done by recognising when the existing ops (Mult and Div) are applied to a constant?
@xrchz it's can be done like that because each dataLang assignment is of the form:
Assign var_name op_name var_names space
i.e. Op is not nested. See the dataLang definition for details.
The first step here would be to add variable length shifts to asm and all the targets.
@ncough are you still working on this?
The closLang op should be extended with Div / Mul by a constant power of 2. (Or just an int shift directly and have the power reduction done in compilation to/within clos)
@myreen comments that my comment about the "first step" is wrong because if it is a fixed power of 2, one knows exactly how much to shift by (the exponent)