tune-ppce500: correct the -mfloat-gprs compiler option
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.
Signed-off-by Christopher Larson <[email protected]>
--- meta/conf/machine/include/tune-ppce500.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/machine/include/tune-ppce500.inc +1 -1
@@ -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
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.
Signed-off-by Christopher Larson<[email protected]>--- meta/conf/machine/include/tune-ppce500.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/conf/machine/include/tune-ppce500.inc +1
-1@@ -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"