To fix the original problem reported, we need to detect the 3 instruction case, and, if the extra registers are available, and the constant fits movw, emit the movw as a special case. We should prefer solutions that don't add to register pressure.
To fix the original problem reported, we need to detect the 3 instruction case, and, if the extra registers are available, and the constant fits movw, emit the movw as a special case. We should prefer solutions that don't add to register pressure.