mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: simplify PPC dcbzl check
Originally committed as revision 15606 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a57bf69758
commit
5eb39de901
9
configure
vendored
9
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user