Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
0d909f54d46a5c4e5143a0469f77472673fdd06a
/
.
/
main
/
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