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 for stricter implicit conversions between vectors


- Disallows implicit conversions between generic vectors with differing
  element types, even if implicit conversions exist between those element
  types.

I would make this a bit more lax, allowing a conversion if the inner element types have the same mode (e.g. vector char -> vector unsigned char).


- Modifies the Altivec intrinsic implementation to prevent similar errors
(which were occurring especially from built-in functions that were supposed
to be returning things such as "vector bool int" as "vector signed int",
or similar).

You need parentheses around the macro implementations.


Paolo


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