Thomas Capricelli archive
Tag: simd

May 13, 2011

How to detect Altivec availability on linux/ppc at runtime

by orzel
Categories: Gentoo, Linux kernel
Tags: ,
Comments: Leave a Comment

It is easy to find information on how to detect the availability of the different SSE instructions sets on the x86 platform.. but this get trickier when you’re looking after AltiVec. This page provide some code and a link explaining why methods based on try and catch exception are bad: http://freevec.org/function/altivec_runtime_detection_linux I did few modifications […]