Re: [PATCH 1/5] RISC-V: Small stack tie changes

2024-07-26 Thread Jeff Law
On 7/26/24 12:43 PM, Raphael Zinsly wrote: On Fri, Jul 26, 2024 at 2:00 PM Jeff Law wrote: On 7/24/24 12:00 PM, Raphael Moreira Zinsly wrote: ... diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index 46c46039c33..5780c5abacf 100644 --- a/gcc/config/riscv/riscv.md +++ b/gc

Re: [PATCH 1/5] RISC-V: Small stack tie changes

2024-07-26 Thread Raphael Zinsly
On Fri, Jul 26, 2024 at 2:00 PM Jeff Law wrote: > On 7/24/24 12:00 PM, Raphael Moreira Zinsly wrote: > ... > > diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md > > index 46c46039c33..5780c5abacf 100644 > > --- a/gcc/config/riscv/riscv.md > > +++ b/gcc/config/riscv/riscv.md > > @@

Re: [PATCH 1/5] RISC-V: Small stack tie changes

2024-07-26 Thread Jeff Law
On 7/24/24 12:00 PM, Raphael Moreira Zinsly wrote: Enable the register used by riscv_emit_stack_tie () to be passed as an argument so we can tie the stack with other registers besides hard_frame_pointer_rtx. Also don't allow operand 1 of stack_tie to be optimized to sp in preparation for the s