Binutils: Add Octeon3
PATCH 1/2 Binutils: Add Octeon3
From: Armin Kuster <[email protected]>
This add octeon3 support to binutils.
Signed-off-by Armin Kuster <[email protected]>
--- meta/recipes-devtools/binutils/binutils-2.25.1.inc | 1 + .../binutils/binutils/binutils-octeon3.patch | 272 +++++++++++++++++++++ 2 files changed, 273 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch
meta/recipes-devtools/binutils/binutils-2.25.1.inc +1 -0
@@ -32,6 +32,7 @@ SRC_URI = "\ file://0012-Add-XLP-instructions-support.patch \ file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \ file://0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \ + file://binutils-octeon3.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch new file +272 -0
272 lines not on this page · raw message
Signature · 1 line
2.3.5
PATCH 2/2 tune-octeon: add tune file for Octeon
From: Armin Kuster <[email protected]>
this add Mips Octeon tune features.
Signed-off-by Armin Kuster <[email protected]>
--- meta/conf/machine/include/tune-octeon.inc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/conf/machine/include/tune-octeon.inc
meta/conf/machine/include/tune-octeon.inc new file +27 -0
@@ -0,0 +1,27 @@ +DEFAULTTUNE ?="octeon2" + +require conf/machine/include/tune-mips64.inc + +AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64" + +TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}" +TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" +MIPSPKGSFX_VARIANT_tune-octeon2 = "${TUNE_ARCH}" +PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2 octeon2_64-n32" + +TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2" +MIPSPKGSFX_VARIANT_tune-octeon2_64 = "${TUNE_ARCH}" +PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" + + +TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}" + +TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" +MIPSPKGSFX_VARIANT_tune-octeon3 = "${TUNE_ARCH}" +PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3 octeon3_64-n32" + +TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3" +MIPSPKGSFX_VARIANT_tune-octeon3_64 = "${TUNE_ARCH}" +PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64"
Signature · 1 line
2.3.5