mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
(Maynard Johnson, maynardj@us.ibm.com and Pete Eberlein, eberlein@us.ibm.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11338
12 lines
209 B
Bash
Executable File
12 lines
209 B
Bash
Executable File
#!/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
|
|
|