Commit 7bf0444f authored by mru's avatar mru

configure: simplify PPC dcbzl check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15606 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3736564d
...@@ -1598,14 +1598,7 @@ fi ...@@ -1598,14 +1598,7 @@ fi
# check for assembler specific support # check for assembler specific support
if test $arch = "powerpc"; then if test $arch = "powerpc"; then
check_cc <<EOF && enable dcbzl check_asm dcbzl '"dcbzl 0, 1"'
int main(void) {
register long zero = 0;
char data[1024];
asm volatile("dcbzl %0, %1" : : "b" (data), "r" (zero));
return 0;
}
EOF
fi fi
# check for SIMD availability # check for SIMD availability
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment