Re: [PATCH,rs6000] Add __VEC_ELEMENT_REG_ORDER__ builtin define for PowerPC

2014-08-20 Thread Bill Schmidt
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? >

Re: [PATCH,rs6000] Add __VEC_ELEMENT_REG_ORDER__ builtin define for PowerPC

2014-08-20 Thread Alan Lawrence
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 the

Re: [PATCH,rs6000] Add __VEC_ELEMENT_REG_ORDER__ builtin define for PowerPC

2014-08-20 Thread David Edelsohn
2014-08-15 Bill Schmidt * conifg/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide builtin define __VEC_ELEMENT_REG_ORDER__. Okay. Thanks, David