On Wed, 18 Aug 2021 at 20:56, Richard Henderson <richard.hender...@linaro.org> wrote: > > Use load-acquire / store-release for the normal case of > alignment matching the access size. Otherwise, emit a > test + branch sequence invoking helper_unaligned_mmu.
I don't think this trick will work for a CPU that implements the FEAT_LSE2 feature -- section B2.5.2 in the Arm ARM DDI0487G.b says that if LSE2 is implemented then the CPU either must or can make them just work and do the unaligned access. thanks -- PMM