Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
valgrind
/
86be6ed340d2373ffded269f57aa87765430ddcc
/
.
/
tests
/
check_vmx_cap
blob: 12e5f68ec61b3ed03e3132ed6b254030d167f1ce [
file
] [
log
] [
blame
]
#!/bin/sh
# We use this script to check whether or not the processor supports VMX (aka "Altivec").
LD_SHOW_AUXV
=
1
/
bin
/
true
|
grep altivec
>
/
dev
/
null
2
>&
1
if
[
"$?"
-
ne
"0"
];
then
exit
1
else
exit
0
fi