diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-20 15:41:46 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-20 15:41:46 +0100 |
| commit | ed3d34b0afb1edb405dfa6dcb00527b9a9a2e480 (patch) | |
| tree | 35fb1e0e3d22b2d6d35db778b45e5ade05337929 /lib/xixanta/Cargo.toml | |
| parent | ea5f0f81b8a76408d8311cabbc48228798cc20e8 (diff) | |
| download | tools.nes-ed3d34b0afb1.tar.gz tools.nes-ed3d34b0afb1.zip | |
Only shrink the addressing on resolved bundles
Commit ea5f0f81b8a7 ("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à <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/Cargo.toml')
0 files changed, 0 insertions, 0 deletions
