Commit 54f78816 authored by Peter Krefting's avatar Peter Krefting Committed by Vittorio Giovara

configure: Remove dcbzl check for e500v1 and e500v2 architectures

The DCBZL instruction is not available for the e500v1 and e500v2
architectures, but may still be recognized by the toolchain, so we
need to explicitly disable it for these architectures.

References: PowerPC™ e500 Core Family Reference Manual (Freescale)
Found-by: default avatarStåle Kristoffersen <staalebk@ifi.uio.no>
Signed-off-by: default avatarVittorio Giovara <vittorio.giovara@gmail.com>
parent 5b8f0a5e
...@@ -3178,10 +3178,12 @@ elif enabled ppc; then ...@@ -3178,10 +3178,12 @@ elif enabled ppc; then
e500v2) e500v2)
cpuflags="-mcpu=8548 -mhard-float -mfloat-gprs=double" cpuflags="-mcpu=8548 -mhard-float -mfloat-gprs=double"
disable altivec disable altivec
disable dcbzl
;; ;;
e500) e500)
cpuflags="-mcpu=8540 -mhard-float" cpuflags="-mcpu=8540 -mhard-float"
disable altivec disable altivec
disable dcbzl
;; ;;
esac esac
......
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