[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408918: [powerpc] -maltivec generates AltiVec code when not asked to



On 4/19/07, Martin Michlmayr <tbm@cyrius.com> wrote:
* Sam Hocevar <sam@zoy.org> [2007-04-20 02:52]:
>    Do you know how the GCC developers would suggest handling vector
> types in a C structure or C++ object that are only used by functions
> called if AltiVec support was detected at runtime? Because you currently
> cannot do that without "contaminating" each and every object using these
> types with AltiVec instructions all over the place.

Andrew, can you comment?

Yes use a seperate file.  This is the same method as required by
MMX/SSE/SSE2 and any option which might change use of the ISA also.

-- Andrew



Reply to: