[PATCH] cell spu accelerated string functions

Andrew_Pinski@PlayStation.Sony.Com Andrew_Pinski@PlayStation.Sony.Com
Thu Oct 26 22:38:00 GMT 2006


In case it did not go through the first time:
> +#ifdef __ALTIVEC_LITERAL_STYLE__
....
> +#else
> +/* Use curly brace style.
> + */
> +#endif

You could just use spu_splats instead which works correctly for the 
VEC_SPLAT macros
and then you don't need to between the two literal styles.  Also the curly 
brace style
is not optional by the Cell C/C++ Language extension document so you can 
use that style
always for literals.

Thanks,
Andrew Pinski



More information about the Newlib mailing list