Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only shrink the addressing on resolved bundles
Commit ea5f0f8 ("Shrink some absolute instructions by one byte") applied the optimization in all cases, but we cannot perform it on bundles which are yet to be resolved. This is because in unresolved bundles the value is only an offset, which usually will fit on a single byte and hence the optimization would've been carried out. That being said, whenever we resolve this it might just be the case the it wouldn't have fit in that single byte, and hence we end up with an artificially shrinked instruction for a 16-bit address. Signed-off-by: Miquel Sabaté Solà <[email protected]>
- Loading branch information