Re: [PATCH v7 8/9] AArch64: rules for CMPBR instructions

2025-07-02 Thread Richard Sandiford
Karl Meakin writes: > On 01/07/2025 11:02, Richard Sandiford wrote: >> Karl Meakin writes: >>> @@ -763,6 +784,68 @@ (define_expand "cbranchcc4" >>> "" >>> ) >>> >>> +;; Emit a `CB (register)` or `CB (immediate)` instruction. >>> +;; The immediate range depends on the comparison code. >>>

Re: [PATCH v7 8/9] AArch64: rules for CMPBR instructions

2025-07-02 Thread Karl Meakin
On 01/07/2025 11:02, Richard Sandiford wrote: Karl Meakin writes: @@ -763,6 +784,68 @@ (define_expand "cbranchcc4" "" ) +;; Emit a `CB (register)` or `CB (immediate)` instruction. +;; The immediate range depends on the comparison code. +;; Comparisons against immediates outside this

Re: [PATCH v7 8/9] AArch64: rules for CMPBR instructions

2025-07-01 Thread Richard Sandiford
Karl Meakin writes: > @@ -763,6 +784,68 @@ (define_expand "cbranchcc4" >"" > ) > > +;; Emit a `CB (register)` or `CB (immediate)` instruction. > +;; The immediate range depends on the comparison code. > +;; Comparisons against immediates outside this range fall back to > +;; CMP + B. > +(de