Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
1ef205bfce335a8d54b6b188e83254b92c52d7ad
/
.
/
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