Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
valgrind
/
090b529ed70fcfb791c327694f29e9f219abf1c1
/
.
/
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