Commit 45babb01 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun

configure: only disable VSX for !ppc64el

This reverts commit 04f00022, which made it impossible to enable VSX with
a generic cpu.

This changes the behavior back to what it was before commit b0af4043.
Reviewed-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
parent 324cf064
...@@ -4033,9 +4033,6 @@ elif enabled ppc; then ...@@ -4033,9 +4033,6 @@ elif enabled ppc; then
disable altivec disable altivec
disable dcbzl disable dcbzl
;; ;;
*)
disable vsx
;;
esac esac
elif enabled sparc; then elif enabled sparc; then
...@@ -4610,6 +4607,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; ...@@ -4610,6 +4607,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF EOF
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
if ! enabled ppc64 || enabled bigendian; then
disable vsx
fi
check_gas() { check_gas() {
log "check_gas using '$as' as AS" log "check_gas using '$as' as AS"
......
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