This is the mail archive of the gcc-patches@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: patch: Re: rfc: auto-casted vector types


>> This kind of hints that such builtins should take and return opaque
>> types
>> then you wouldn't need any casts?

>Correct, and that's what we're trying to do by casting the arguments
>to the builtin, and the return value from the builtin.

I think you are confusing intrinsics and builtins.  You are proposing to
fix the problem by adding casts to the intrinsics in spe.h to get around the
fact that the builtins return the wrong type.  The other solution is to fix
the builtins in rs6000.c to use the right type.

Jim




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