Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-07-15 Thread Maciej W. Rozycki
On Mon, 15 Jul 2024, Jakub Jelinek wrote: > > > > for gcc/ChangeLog > > > > > > > > PR target/115459 > > > > * config/alpha/alpha.cc (alpha_expand_block_move): Adjust > > > > MEMs to match inferred alignment. > > > > > > LGTM, based on a successful bootstrap/regtest repor

Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-07-15 Thread Jakub Jelinek
On Mon, Jul 15, 2024 at 01:09:02PM +0100, Maciej W. Rozycki wrote: > On Wed, 10 Jul 2024, Uros Bizjak wrote: > > > > Before issuing loads or stores for a block move, adjust the MEM > > > alignments if analysis of the addresses enabled the inference of > > > stricter alignment. This ensures that t

Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-07-15 Thread Maciej W. Rozycki
On Wed, 10 Jul 2024, Uros Bizjak wrote: > > Before issuing loads or stores for a block move, adjust the MEM > > alignments if analysis of the addresses enabled the inference of > > stricter alignment. This ensures that the MEMs are sufficiently > > aligned for the corresponding insns, which avoid

Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-07-10 Thread Uros Bizjak
On Thu, Jun 13, 2024 at 9:37 AM Alexandre Oliva wrote: > > Hello, Maciej, > > On Jun 12, 2024, "Maciej W. Rozycki" wrote: > > > This has regressed building the `alpha-linux-gnu' target, in libada, as > > from commit d6b756447cd5 including GCC 14 and up to current GCC 15 trunk: > > > | Error dete

[PING][PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-07-01 Thread Maciej W. Rozycki
On Thu, 13 Jun 2024, Alexandre Oliva wrote: > Before issuing loads or stores for a block move, adjust the MEM > alignments if analysis of the addresses enabled the inference of > stricter alignment. This ensures that the MEMs are sufficiently > aligned for the corresponding insns, which avoids tr

Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-06-18 Thread Maciej W. Rozycki
On Thu, 13 Jun 2024, Maciej W. Rozycki wrote: > > Maciej, would you be so kind as to give it a spin with a native > > regstrap? TIA, > > I will certainly run regression-testing once the job I started yesterday > has finished with my Alpha system, which should be fairly soon as it's > already

Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-06-13 Thread Joseph Myers
On Thu, 13 Jun 2024, Maciej W. Rozycki wrote: > > This was tricky to duplicate without access to an alpha-linux-gnu > > machine. I ended up building an uberbaum tree with --disable-shared > > --disable-threads --enable-languages=ada up to all-target-libgcc, then I > > replaced gcc/collect2 with a

Re: [PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-06-13 Thread Maciej W. Rozycki
Hi Alexandre, > > This has regressed building the `alpha-linux-gnu' target, in libada, as > > from commit d6b756447cd5 including GCC 14 and up to current GCC 15 trunk: > > > | Error detected around g-debpoo.adb:1896:8| > > > I have filed PR #115459. > > Thanks!

[PATCH] [alpha] adjust MEM alignment for block move [PR115459] (was: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required)

2024-06-13 Thread Alexandre Oliva
Hello, Maciej, On Jun 12, 2024, "Maciej W. Rozycki" wrote: > This has regressed building the `alpha-linux-gnu' target, in libada, as > from commit d6b756447cd5 including GCC 14 and up to current GCC 15 trunk: > | Error detected around g-debpoo.adb:1896:8| > I