Hi! On Wed, Jul 01, 2015 at 12:55:38 +0200, Jakub Jelinek wrote: > I've committed following patch, which per the new ABI additions > mangles and handles the various new linear clause modifiers in > declare simd functions. The vectorizer side is not done yet, > > [...] > > @@ -14195,12 +14216,25 @@ simd_clone_mangle (struct cgraph_node *n > { > struct cgraph_simd_clone_arg arg = clone_info->args[n]; > > - if (arg.arg_type == SIMD_CLONE_ARG_TYPE_UNIFORM) > - pp_character (&pp, 'u'); > - else if (arg.arg_type == SIMD_CLONE_ARG_TYPE_LINEAR_CONSTANT_STEP) > + switch (arg.arg_type) > { > - gcc_assert (arg.linear_step != 0); > + case SIMD_CLONE_ARG_TYPE_UNIFORM: > + pp_character (&pp, 'u'); > + break; > + case SIMD_CLONE_ARG_TYPE_LINEAR_CONSTANT_STEP: > pp_character (&pp, 'l'); > + goto mangle_linear; > + case SIMD_CLONE_ARG_TYPE_LINEAR_REF_CONSTANT_STEP: > + pp_character (&pp, 'R'); > + goto mangle_linear; > + case SIMD_CLONE_ARG_TYPE_LINEAR_VAL_CONSTANT_STEP: > + pp_character (&pp, 'L'); > + goto mangle_linear; > + case SIMD_CLONE_ARG_TYPE_LINEAR_UVAL_CONSTANT_STEP: > + pp_character (&pp, 'U'); > + goto mangle_linear; > + mangle_linear: > + gcc_assert (arg.linear_step != 0);
Could you please point to where the new ABI additions are documented? I can't find R/L/U parameter types in [1] and [2]. [1] https://sourceware.org/glibc/wiki/libmvec?action=AttachFile&do=view&target=VectorABI.txt [2] https://groups.google.com/forum/#!topic/x86-64-abi/LmppCfN1rZ4 Thanks, -- Ilya