tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA.
This commit adds support for the PowerPC 440 processor for the Xilinx Virtex-5 FXT FPGA.
--- meta/conf/machine/include/tune-ppc440.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/conf/machine/include/tune-ppc440.inc
meta/conf/machine/include/tune-ppc440.inc new file +14 -0
@@ -0,0 +1,14 @@ +DEFAULTTUNE ?= "ppc440" + +require conf/machine/include/powerpc/arch-powerpc.inc + +TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" + +AVAILTUNES += "ppc440" +TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" +TUNE_PKGARCH_tune-ppc440 = "ppc440" +PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440" + +# glibc configure options to get 440 specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
Signature · 1 line
1.7.9.5
Quoted 3 lines · Elvis Dowson
This commit adds support for the PowerPC 440 processor for the Xilinx Virtex-5 FXT FPGA.
this looks ok to me
Quoted 34 lines
Signed-off-by Elvis Dowson <[email protected]>--- meta/conf/machine/include/tune-ppc440.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/conf/machine/include/tune-ppc440.incmeta/conf/machine/include/tune-ppc440.inc new file +14
-0@@ -0,0 +1,14 @@ +DEFAULTTUNE ?= "ppc440" + +require conf/machine/include/powerpc/arch-powerpc.inc + +TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" + +AVAILTUNES += "ppc440" +TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" +TUNE_PKGARCH_tune-ppc440 = "ppc440" +PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440" + +# glibc configure options to get 440 specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"Signature · 7 lines
1.7.9.5 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
-Khem
Hi Elvis,
the tune file its ok, but it should be better if you rather provide a fix for the tune-ppc440.inc
that is part of meta-xilinx layer;
Regards
Adrian Alonso
Quoted 51 lines · Khem Raj
Quoted 3 lines · Elvis Dowson
This commit adds support for the PowerPC 440 processor for the Xilinx Virtex-5 FXT FPGA.
this looks ok to me
Quoted 30 lines
Signed-off-by Elvis Dowson <[email protected]>---
meta/conf/machine/include/tune-ppc440.inc | 14 ++++++++++++++1 file changed, 14 insertions(+)create mode 100644 meta/conf/machine/include/tune-ppc440.inc
meta/conf/machine/include/tune-ppc440.inc new file +14
-1@@ -0,0 +1,14 @@ +DEFAULTTUNE ?= "ppc440" + +require conf/machine/include/powerpc/arch-powerpc.inc + +TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" + +AVAILTUNES += "ppc440" +TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" +TUNE_PKGARCH_tune-ppc440 = "ppc440" +PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440" + +# glibc configure options to get 440 specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}" --1.7.9.5
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel--
-Khem_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 3 lines
Saludos Adrian Alonso http://aalonso.wordpress.com
Hi Adrian,
Quoted 3 lines · Adrian Alonso
the tune file its ok, but it should be better if you rather provide a fix for the tune-ppc440.inc
that is part of meta-xilinx layer;
Here is a diff against the existing tune-ppc440.inc file in the meta-xilinx layer. I'll submit a patch shortly.
conf/machine/include/tune-ppc440.inc +5 -5
@@ -4,11 +4,11 @@ require conf/machine/include/powerpc/arch-powerpc.inc TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" -TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}" -TARGET_FPU = "soft" AVAILTUNES += "ppc440" -TUNE_FEATURES_tune-ppc440 = "m32 ppc440" -PACKAGE_EXTRA_ARCHS_tune-ppc440 = "ppc440" +TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" +TUNE_PKGARCH_tune-ppc440 = "ppc440" +PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440" -#MACHINEOVERRIDES .= "ppc440" +# glibc configure options to get 440 specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
Best regards,
Elvis Dowson