diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-27 21:47:25 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-27 21:47:25 +0000 |
commit | 54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6 (patch) | |
tree | 730f05e8c86d86b1c8383c5eabb8a673198b77a3 /cpudetect.c | |
parent | 85ea1a5733395160c41c46e19c4a6c268f9de901 (diff) | |
download | mpv-54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6.tar.bz2 mpv-54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6.tar.xz |
The two attached patches *should* allow for proper
compilation of the AltiVec stuff on both Darwin
and non-Darwin system. They've only been tested
for compilation on Debian using Debian's gcc-3.2.
Romain Dolbeau <dolbeau@irisa.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9123 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpudetect.c b/cpudetect.c index ba5a0d0adc..acd291265e 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -492,7 +492,7 @@ void GetCpuCaps( CpuCaps *caps) canjump = 1; asm volatile ("mtspr 256, %0\n\t" - "vand v0, v0, v0" + "vand %%v0, %%v0, %%v0" : : "r" (-1)); |