Re: [PATCH 1/2] rtl-optimization/113255 - base_alias_check vs. pointer difference

2024-01-23 Thread H.J. Lu
On Mon, Jan 22, 2024 at 11:10 PM Richard Biener wrote: > > On Mon, 22 Jan 2024, Jeff Law wrote: > > > > > > > On 1/15/24 06:34, Richard Biener wrote: > > > When the x86 backend generates code for cpymem with the rep_8byte > > > strathegy for the 8 byte aligned main rep movq it needs to compute > >

Re: [PATCH 1/2] rtl-optimization/113255 - base_alias_check vs. pointer difference

2024-01-23 Thread H.J. Lu
On Tue, Jan 23, 2024 at 6:15 AM H.J. Lu wrote: > > On Mon, Jan 22, 2024 at 11:10 PM Richard Biener wrote: > > > > On Mon, 22 Jan 2024, Jeff Law wrote: > > > > > > > > > > > On 1/15/24 06:34, Richard Biener wrote: > > > > When the x86 backend generates code for cpymem with the rep_8byte > > > > st

Re: [PATCH 1/2] rtl-optimization/113255 - base_alias_check vs. pointer difference

2024-01-23 Thread H.J. Lu
On Mon, Jan 22, 2024 at 11:10 PM Richard Biener wrote: > > On Mon, 22 Jan 2024, Jeff Law wrote: > > > > > > > On 1/15/24 06:34, Richard Biener wrote: > > > When the x86 backend generates code for cpymem with the rep_8byte > > > strathegy for the 8 byte aligned main rep movq it needs to compute > >

Re: [PATCH 1/2] rtl-optimization/113255 - base_alias_check vs. pointer difference

2024-01-22 Thread Richard Biener
On Mon, 22 Jan 2024, Jeff Law wrote: > > > On 1/15/24 06:34, Richard Biener wrote: > > When the x86 backend generates code for cpymem with the rep_8byte > > strathegy for the 8 byte aligned main rep movq it needs to compute > > an adjusted pointer to the source after doing a prologue aligning >

Re: [PATCH 1/2] rtl-optimization/113255 - base_alias_check vs. pointer difference

2024-01-22 Thread Jeff Law
On 1/15/24 06:34, Richard Biener wrote: When the x86 backend generates code for cpymem with the rep_8byte strathegy for the 8 byte aligned main rep movq it needs to compute an adjusted pointer to the source after doing a prologue aligning the destination. It computes that via src_ptr + (d

Re: [PATCH 1/2] rtl-optimization/113255 - base_alias_check vs. pointer difference

2024-01-21 Thread Jeff Law
On 1/15/24 06:34, Richard Biener wrote: When the x86 backend generates code for cpymem with the rep_8byte strathegy for the 8 byte aligned main rep movq it needs to compute an adjusted pointer to the source after doing a prologue aligning the destination. It computes that via src_ptr + (d