Re: [committed] patch to deal with insn scratches in global RA

2020-11-05 Thread Christophe Lyon via Gcc-patches
On Mon, 2 Nov 2020 at 23:01, Vladimir Makarov wrote: > > > On 2020-11-02 4:30 p.m., Vladimir Makarov via Gcc-patches wrote: > > > > On 2020-11-02 3:12 p.m., Christophe Lyon wrote: > >> > >> Hi, > >> > >> This patch causes ICEs on arm (eg arm-none-linux-gnueabi) > >> gcc.c-torture/compile/sync

Re: [committed] patch to deal with insn scratches in global RA

2020-11-02 Thread Vladimir Makarov via Gcc-patches
On 2020-11-02 4:30 p.m., Vladimir Makarov via Gcc-patches wrote: On 2020-11-02 3:12 p.m., Christophe Lyon wrote: Hi, This patch causes ICEs on arm (eg arm-none-linux-gnueabi) gcc.c-torture/compile/sync-3.c   -O1  (internal compiler error) gcc.c-torture/compile/sync-3.c   -O2  (int

Re: [committed] patch to deal with insn scratches in global RA

2020-11-02 Thread Vladimir Makarov via Gcc-patches
On 2020-11-02 3:12 p.m., Christophe Lyon wrote: Hi, This patch causes ICEs on arm (eg arm-none-linux-gnueabi) gcc.c-torture/compile/sync-3.c -O1 (internal compiler error) gcc.c-torture/compile/sync-3.c -O2 (internal compiler error) gcc.c-torture/compile/sync-3.c -O2 -fl

Re: [committed] patch to deal with insn scratches in global RA

2020-11-02 Thread Christophe Lyon via Gcc-patches
On Fri, 30 Oct 2020 at 20:11, Vladimir Makarov via Gcc-patches wrote: > > The following patch implements taking insn scratch requirements into > account in global RA (IRA). Before the patch IRA simply ignored insn > scratches. Only LRA took the scratches into account and assigned hard > regist

[committed] patch to deal with insn scratches in global RA

2020-10-30 Thread Vladimir Makarov via Gcc-patches
 The following patch implements taking insn scratch requirements into account in global RA (IRA).  Before the patch IRA simply ignored insn scratches.  Only LRA took the scratches into account and assigned hard registers to scratches if neccessary.  In some cases it resulted in spilling pseudos wh