This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] cell spu accelerated string functions
- From: Andrew_Pinski at PlayStation dot Sony dot Com
- To: jschopp <jschopp at austin dot ibm dot com>
- Cc: Kazunori Asayama <asayama at sm dot sony dot co dot jp>, newlib at sources dot redhat dot com
- Date: Thu, 26 Oct 2006 11:44:24 -0700
- Subject: Re: [PATCH] cell spu accelerated string functions
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