Commit 5eb39de9 authored by Måns Rullgård's avatar Måns Rullgård

configure: simplify PPC dcbzl check

Originally committed as revision 15606 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a57bf697
......@@ -1598,14 +1598,7 @@ fi
# check for assembler specific support
if test $arch = "powerpc"; then
check_cc <<EOF && enable dcbzl
int main(void) {
register long zero = 0;
char data[1024];
asm volatile("dcbzl %0, %1" : : "b" (data), "r" (zero));
return 0;
}
EOF
check_asm dcbzl '"dcbzl 0, 1"'
fi
# 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