Skip to content

Aarch64 - More efficient address offset computations.

Andreas Klebinger requested to merge wip/andreask/reg-offset into master

We used to have a special code path for loading the address into a register for cases where the offset didn't fit into the str/ld immediate.

In this MR I kept the code for using the str/ld immediate where possible. But if the offset doesn't fit into the store immediate we now just use the regular getRegister' code path to load the address into a register instead.

Edited by Andreas Klebinger

Merge request reports