Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-15 Thread Soumya AR
> On 15 Jul 2025, at 3:24 PM, Richard Sandiford > wrote: > > External email: Use caution opening links or attachments > > > Soumya AR writes: >> One additional change with this patch is that I had to update ldapr-sext.c >> too. >> >> During the combine pass, cases of UNSPECV_LDAP (with an

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-15 Thread Richard Sandiford
Soumya AR writes: > One additional change with this patch is that I had to update ldapr-sext.c > too. > > During the combine pass, cases of UNSPECV_LDAP (with an offset) + sign_extend > transform to LDAPUR + SEXT, and later to LDAPURS (with address folding). > > The aarch64 tests run with -moverr

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-14 Thread Soumya AR
Sandiford >>>>>> wrote: >>>>>> >>>>>> Soumya AR writes: >>>>>>> From 2a2c3e3683aaf3041524df166fc6f8cf20895a0b Mon Sep 17 00:00:00 2001 >>>>>>> From: Soumya AR >>>>>>> Date: Mon, 30

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-10 Thread Richard Sandiford
> >>>> >>>> >>>>> On 1 Jul 2025, at 17:36, Richard Sandiford >>>>> wrote: >>>>> >>>>> Soumya AR writes: >>>>>> From 2a2c3e3683aaf3041524df166fc6f8cf20895a0b Mon Sep 17 00:00:00 2001 >

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-10 Thread Soumya AR
Jul 2025, at 17:36, Richard Sandiford >>>> wrote: >>>> >>>> Soumya AR writes: >>>>> From 2a2c3e3683aaf3041524df166fc6f8cf20895a0b Mon Sep 17 00:00:00 2001 >>>>> From: Soumya AR >>>>> Date: Mon, 30 Jun 2025 12:17:

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-10 Thread Richard Sandiford
n Sep 17 00:00:00 2001 >>>> From: Soumya AR >>>> Date: Mon, 30 Jun 2025 12:17:30 -0700 >>>> Subject: [PATCH] aarch64: Enable selective LDAPUR generation for cores with >>>> RCPC2 >>>> >>>> This patch adds the ability to

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-10 Thread Soumya AR
gt;> Date: Mon, 30 Jun 2025 12:17:30 -0700 >>> Subject: [PATCH] aarch64: Enable selective LDAPUR generation for cores with >>> RCPC2 >>> >>> This patch adds the ability to fold the address computation into the >>> addressing >>> mode for L

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-01 Thread Richard Sandiford
Soumya AR writes: > From 2a2c3e3683aaf3041524df166fc6f8cf20895a0b Mon Sep 17 00:00:00 2001 > From: Soumya AR > Date: Mon, 30 Jun 2025 12:17:30 -0700 > Subject: [PATCH] aarch64: Enable selective LDAPUR generation for cores with > RCPC2 > > This patch adds the abilit

Re: [PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-01 Thread Kyrylo Tkachov
> On 1 Jul 2025, at 17:36, Richard Sandiford wrote: > > Soumya AR writes: >> From 2a2c3e3683aaf3041524df166fc6f8cf20895a0b Mon Sep 17 00:00:00 2001 >> From: Soumya AR >> Date: Mon, 30 Jun 2025 12:17:30 -0700 >> Subject: [PATCH] aarch64: Enable selective

[PATCH] aarch64: Enable selective LDAPUR generation for cores with RCPC2

2025-07-01 Thread Soumya AR
This patch adds the ability to fold the address computation into the addressing mode for LDAPR instructions using LDAPUR when RCPC2 is available. LDAPUR emission is controlled by the tune flag enable_ldapur, to enable it on a per-core basis. Earlier, the following code: uint64_t foo (std::atomic