recent troubles with float vectors & bitwise ops

Chris Lattner clattner@apple.com
Fri Aug 24 15:43:00 GMT 2007


On Aug 24, 2007, at 8:02 AM, Ian Lance Taylor wrote:
> Permitting this extension continues the preexisting behaviour, and it
> helps programmers and helps existing code.  Who does it hurt to permit
> this extension?  Who does it help to forbid this extension?

Aren't builtins the designated way to access processor-specific  
features like this?  Why does there have to be C operators for  
obscure features like this?

Wouldn't it be better to fix the code generator to do the right thing  
regardless of how the user presents it?  There is a lot of code that  
uses casts (including the builtin implementations themselves) - it  
seems worthwhile to generate instructions for the right domain for  
this code as well.

-Chris



More information about the Gcc mailing list