[rtems commit] bsps/powerpc: Disable SPE for soft-float variants
Sebastian Huber
sebh at rtems.org
Mon Dec 15 10:28:11 UTC 2014
Module: rtems
Branch: master
Commit: 5063e1a56847ecea8bff823428c19df7a2b4cba4
Changeset: http://git.rtems.org/rtems/commit/?id=5063e1a56847ecea8bff823428c19df7a2b4cba4
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Dec 15 11:26:06 2014 +0100
bsps/powerpc: Disable SPE for soft-float variants
---
c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc | 2 +-
c/src/lib/libbsp/powerpc/t32mppc/make/custom/t32mppc.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc
index 6a2c329..3595490 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc
@@ -13,7 +13,7 @@ RTEMS_CPU = powerpc
RTEMS_CPU_MODEL = mpc55xx
-CPU_CFLAGS_FLOAT?=-msoft-float
+CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe
# FIXME
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common $(CPU_CFLAGS_FLOAT) \
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/make/custom/t32mppc.cfg b/c/src/lib/libbsp/powerpc/t32mppc/make/custom/t32mppc.cfg
index b8aa2b7..6b8f4be 100644
--- a/c/src/lib/libbsp/powerpc/t32mppc/make/custom/t32mppc.cfg
+++ b/c/src/lib/libbsp/powerpc/t32mppc/make/custom/t32mppc.cfg
@@ -2,7 +2,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = powerpc
-CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float \
+CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe \
-D__ppc_generic
CFLAGS_OPTIMIZE_V = -O2 -g
More information about the vc
mailing list