[PATCH] PPC enable Alitvec hardware, part 1

Roland McGrath roland@redhat.com
Sat Jan 10 21:11:00 GMT 2004


> The attached patch provides base enabling for PowerPC Altivec (AKA VMX) 
> and for versioning effected functions. 2.6.0 kernels provide a 
> PPC_FEATURE_HAS_ALTIVEC status in the AT_HWCAP. We need to capture this 
> status as a static flag (__has_altivec) so functions enabled for altivec 
> can run safely on PowerPC hardware without the Altivec feature.

Why did you introduce this variable?  Using GL(dl_hwcap) should be fine.



More information about the Libc-hacker mailing list