Re: [PATCH v3] arm: Low overhead loop handle long range branches [PR98931]

2021-02-11 Thread Andrea Corallo via Gcc-patches
"Richard Earnshaw (lists)" writes: [...] > + [(set (attr "length") > +(if_then_else > +(lt (minus (pc) (match_dup 0)) (const_int 1024)) > + (const_int 4) > + (const_int 6))) > + (set_attr "type" "branch")]) > > Shouldn't that be using "ltu" rather than

Re: [PATCH v3] arm: Low overhead loop handle long range branches [PR98931]

2021-02-11 Thread Richard Earnshaw (lists) via Gcc-patches
On 10/02/2021 17:44, Andrea Corallo via Gcc-patches wrote: > Andrea Corallo via Gcc-patches writes: > >> "Richard Earnshaw (lists)" writes: >> >>> On 09/02/2021 16:27, Andrea Corallo via Gcc-patches wrote: Jakub Jelinek writes: > On Tue, Feb 09, 2021 at 03:09:43PM +0100, Jakub

[PATCH v3] arm: Low overhead loop handle long range branches [PR98931]

2021-02-10 Thread Andrea Corallo via Gcc-patches
Andrea Corallo via Gcc-patches writes: > "Richard Earnshaw (lists)" writes: > >> On 09/02/2021 16:27, Andrea Corallo via Gcc-patches wrote: >>> Jakub Jelinek writes: >>> On Tue, Feb 09, 2021 at 03:09:43PM +0100, Jakub Jelinek via Gcc-patches wrote: >>"TARGET_32BIT &&