configure: enable vsx together with altivec for ppc64el
The altivec optimizations on little endian ppc64 don't work without vsx. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7824dc5150
commit
6108485cf7
2
configure
vendored
2
configure
vendored
@ -4432,7 +4432,7 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
|
||||
EOF
|
||||
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
||||
|
||||
if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then
|
||||
if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] || enabled ppc64; then
|
||||
if ! enabled bigendian && enabled altivec ;then
|
||||
enable vsx
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user