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: Complex types aliasing and MEM_IN_STRUCT_P



I would suspect that vector-types have the same problem.

I doubt that because vector type is not treated like an aggregate but instead it has the same aliasing set as the underlying type.

You're right.


Should complex types be implemented that way also?

Given the presence of instructions like HADDW in some processors, which allow one to use vectors of 2N elements to represent N complex values, I would be inclined to say yes.


Paolo


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