Re: [PATCH 09/18] rs6000: Builtin expansion, part 4

2021-11-02 Thread Segher Boessenkool
Hi! On Wed, Sep 01, 2021 at 11:13:45AM -0500, Bill Schmidt wrote: > static insn_code > elemrev_icode (rs6000_gen_builtins fcode) > { > + switch (fcode) > +{ > +default: > + gcc_unreachable (); default: goes at the end. > +case RS6000_BIF_ST_ELEMREV_V1TI: > + return BYTE

[PATCH 09/18] rs6000: Builtin expansion, part 4

2021-09-01 Thread Bill Schmidt via Gcc-patches
Consolidate into elemrev_icode some logic that is scattered throughout the old altivec_expand_builtin. Also replace functions for handling special load and store built-ins: = ldv_expand_builtin replaces altivec_expand_lv_builtin = lxvrse_expand_builtin and lxvrze_expand_builtin replace altivec_e