On Mon, Feb 11, 2019 at 01:31:24PM +0100, Eric Botcazou wrote:
> > No. 64-bit aligned offsets too. If you know 64-bit alignment of base_addr,
> > you can use size 2 stores (though not size 4 stores) on the
> > !STRICT_ALIGNMENT targets. And that is something still pretty common.
>
> But we're talking about STRICT_ALIGNMENT targets here: an array of 2 doubles
> at address 0x10000008 will have a shadow address of 0x20000001 modulo the
Ok, stand corrected on that, 128-bit indeed, but even that is nothing not
really used.
> offset so you cannot use size 2. Moveover the store merging pass should be
> able to merge the stores so I don't really understand why this matters at all.
For STRICT_ALIGNMENT targets store merging pass obviously can't do anything
with those, because unlike asan.c it can't figure out the alignment.
Jakub