[PATCH, rs6000] Finish implementation of __builtin_atlivec_lvx_v1ti
Peter Bergner
bergner@vnet.ibm.com
Tue Mar 20 17:57:00 GMT 2018
On 3/14/18 4:27 PM, Kelvin Nilsen wrote:
> @@ -14452,6 +14452,7 @@ altivec_expand_lv_builtin (enum insn_code icode, t
> LVXL and LVE*X expand to use UNSPECs to hide their special behavior,
> so the raw address is fine. */
> if (icode == CODE_FOR_altivec_lvx_v2df_2op
> + || icode == CODE_FOR_altivec_lvx_v1ti_2op
> || icode == CODE_FOR_altivec_lvx_v2di_2op
> || icode == CODE_FOR_altivec_lvx_v4sf_2op
> || icode == CODE_FOR_altivec_lvx_v4si_2op
> @@ -15811,6 +15812,9 @@ altivec_expand_builtin (tree exp, rtx target, bool
> case ALTIVEC_BUILTIN_LVX_V2DI:
> return altivec_expand_lv_builtin (CODE_FOR_altivec_lvx_v2di_2op,
> exp, target, false);
> + case ALTIVEC_BUILTIN_LVX_V1TI:
> + return altivec_expand_lv_builtin (CODE_FOR_altivec_lvx_v1ti_2op,
> + exp, target, false);
> case ALTIVEC_BUILTIN_LVX_V4SF:
> return altivec_expand_lv_builtin (CODE_FOR_altivec_lvx_v4sf_2op,
> exp, target, false);
FYI, these hunks will need updating due to the fix for PR83789 which
I just committed to trunk.
Peter
More information about the Gcc-patches
mailing list