Hi Andrea, > -----Original Message----- > From: Gcc-patches <gcc-patches- > bounces+kyrylo.tkachov=arm....@gcc.gnu.org> On Behalf Of Andrea > Corallo via Gcc-patches > Sent: Friday, August 12, 2022 4:34 PM > To: Andrea Corallo via Gcc-patches <gcc-patches@gcc.gnu.org> > Cc: Richard Earnshaw <richard.earns...@arm.com>; nd <n...@arm.com> > Subject: [PATCH 9/15] arm: Set again stack pointer as CFA reg when popping > if necessary > > Hi all, > > this patch enables 'arm_emit_multi_reg_pop' to set again the stack > pointer as CFA reg when popping if this is necessary. >
>From what I can tell from similar functions this is correct, but could you >elaborate on why this change is needed for my understanding please? Thanks, Kyrill > /gcc/ > > * config/arm/arm.cc (arm_emit_multi_reg_pop): If the frame pointer > was set define again the stack pointer as CFA reg when popping.