Skip to contentSkip to conversation

tune-ppce500: correct the -mfloat-gprs compiler option

PATCH In review Christopher Larson 2 participants 2 messages Mar 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tune-ppce500: correct the -mfloat-gprs compiler option

From: Christopher Larson <[email protected]>

Per Edmar at Freescale, e500v2 needs -mfloat-gprs=double, but e500v1 needs -mfloat-gprs=single.

---
 meta/conf/machine/include/tune-ppce500.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/machine/include/tune-ppce500.inc +1 -1
index feb1967..c966560 100644
@@ -7,7 +7,7 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "
 TUNE_PKGARCH_tune-ppce500 = "ppce500"
 
 TUNEVALID[spe] = "Enable SPE ABI extensions"
-TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=double", "", d)}"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=single", "", d)}"
 
 TARGET_FPU = "ppc-efs"
 
Signature · 1 line
1.7.7
#1 lore raw

I noticed the same problem in the tuning rework that I've gone pending. I'm currently working on validating it and hope to have something for merging once I get done validating all 120 tunes.

--Mark

Quoted 23 lines · Christopher Larson

From: Christopher Larson<[email protected]>

Per Edmar at Freescale, e500v2 needs -mfloat-gprs=double, but e500v1 needs -mfloat-gprs=single.

---
  meta/conf/machine/include/tune-ppce500.inc |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/machine/include/tune-ppce500.inc +1 -1
index feb1967..c966560 100644
@@ -7,7 +7,7 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "
  TUNE_PKGARCH_tune-ppce500 = "ppce500"
 
  TUNEVALID[spe] = "Enable SPE ABI extensions"
-TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=double", "", d)}"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe -mfloat-gprs=single", "", d)}"
 
  TARGET_FPU = "ppc-efs"