This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recent troubles with float vectors & bitwise ops



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]