]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/tests/check_vmx_cap
update
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / tests / check_vmx_cap
1 #!/bin/sh
2
3 # We use this script to check whether or not the processor supports VMX (aka "Altivec").
4
5 LD_SHOW_AUXV=1 /bin/true | grep altivec > /dev/null 2>&1
6 if [ "$?" -ne "0" ]; then
7         exit 1
8 else
9         exit 0
10 fi
11