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: altivec: fix macros


>>>>> "Aldy" == Aldy Hernandez <aldyh@redhat.com> writes:

>> bool is also required by the C++ standard, and the new ABI makes it the
>> same size as a char.  Clobbering the compiler's idea of the bool type
>> breaks ABI compatibility.  Please don't.

> this is causing too much trouble.  unless someone can come up with
> a good way of representing:

> 	vector bool short foo;

So the Altivec spec makes bool a *qualifier*?

[checks]

Why, so it does.  What a bizarre idea.  And it seems to use -1 for true, to
boot.  Oh, those wacky Altivecians.

Jason


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