2014-08-15 Bill Schmidt wschm...@vnet.ibm.com
* conifg/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
builtin define __VEC_ELEMENT_REG_ORDER__.
Okay.
Thanks, David
Completely as an aside: this makes me wonder, whether having and using a similar
macro _inside_ gcc, i.e. for targets to specify the ordering of elements within
a vector independently of BYTES_BIG_ENDIAN, might be a good thing?
--Alan
Bill Schmidt wrote:
Hi,
This adds a macro to indicate
On Wed, 2014-08-20 at 17:28 +0100, Alan Lawrence wrote:
Completely as an aside: this makes me wonder, whether having and using a
similar
macro _inside_ gcc, i.e. for targets to specify the ordering of elements
within
a vector independently of BYTES_BIG_ENDIAN, might be a good thing?
Hi,
This adds a macro to indicate the order in which vector elements appear
in a register on PowerPC. Elements may appear in right-to-left order
for little endian, or in left-to-right order for big endian and when
-maltivec=be is selected for little endian. The same macro is being
implemented