configure: Remove dcbzl check for e500v1 and e500v2 architectures
authorPeter Krefting <peter@softwolves.pp.se>
Thu, 6 Feb 2014 12:51:39 +0000 (12:51 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 24 Mar 2014 01:22:16 +0000 (02:22 +0100)
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: Ståle Kristoffersen <staalebk@ifi.uio.no>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
configure

index 766f636..e4fab38 100755 (executable)
--- a/configure
+++ b/configure
@@ -3178,10 +3178,12 @@ elif enabled ppc; then
         e500v2)
             cpuflags="-mcpu=8548 -mhard-float -mfloat-gprs=double"
             disable altivec
+            disable dcbzl
         ;;
         e500)
             cpuflags="-mcpu=8540 -mhard-float"
             disable altivec
+            disable dcbzl
         ;;
     esac