Re: [PATCH 1/3] rtl: allow forming subregs of already unaligned mems [PR102125]

2021-09-06 Thread Richard Biener via Gcc-patches
On Mon, Sep 6, 2021 at 1:23 PM Richard Earnshaw wrote: > > > > On 06/09/2021 12:13, Richard Biener wrote: > > On Mon, Sep 6, 2021 at 1:08 PM Richard Earnshaw > > wrote: > >> > >> > >> > >> On 06/09/2021 11:58, Richard Biener via Gcc-patches wrote: > >>> On Mon, Sep 6, 2021 at 12:40 PM Richard Ear

Re: [PATCH 1/3] rtl: allow forming subregs of already unaligned mems [PR102125]

2021-09-06 Thread Richard Earnshaw via Gcc-patches
On 06/09/2021 12:13, Richard Biener wrote: On Mon, Sep 6, 2021 at 1:08 PM Richard Earnshaw wrote: On 06/09/2021 11:58, Richard Biener via Gcc-patches wrote: On Mon, Sep 6, 2021 at 12:40 PM Richard Earnshaw wrote: GCC was recently changed to prevent simplify_subreg from simplifying a

Re: [PATCH 1/3] rtl: allow forming subregs of already unaligned mems [PR102125]

2021-09-06 Thread Richard Biener via Gcc-patches
On Mon, Sep 6, 2021 at 1:08 PM Richard Earnshaw wrote: > > > > On 06/09/2021 11:58, Richard Biener via Gcc-patches wrote: > > On Mon, Sep 6, 2021 at 12:40 PM Richard Earnshaw wrote: > >> > >> > >> GCC was recently changed to prevent simplify_subreg from simplifying > >> a subreg of a mem when the

Re: [PATCH 1/3] rtl: allow forming subregs of already unaligned mems [PR102125]

2021-09-06 Thread Richard Earnshaw via Gcc-patches
On 06/09/2021 11:58, Richard Biener via Gcc-patches wrote: On Mon, Sep 6, 2021 at 12:40 PM Richard Earnshaw wrote: GCC was recently changed to prevent simplify_subreg from simplifying a subreg of a mem when the mode of the new mem would have stricter alignment constraints than the inner me

Re: [PATCH 1/3] rtl: allow forming subregs of already unaligned mems [PR102125]

2021-09-06 Thread Richard Biener via Gcc-patches
On Mon, Sep 6, 2021 at 12:40 PM Richard Earnshaw wrote: > > > GCC was recently changed to prevent simplify_subreg from simplifying > a subreg of a mem when the mode of the new mem would have stricter alignment > constraints than the inner mem already has when the target requires > STRICT_ALIGNMENT

[PATCH 1/3] rtl: allow forming subregs of already unaligned mems [PR102125]

2021-09-06 Thread Richard Earnshaw via Gcc-patches
GCC was recently changed to prevent simplify_subreg from simplifying a subreg of a mem when the mode of the new mem would have stricter alignment constraints than the inner mem already has when the target requires STRICT_ALIGNMENT. However, such targets may have specialist patterns that can handl