From patchwork Wed Jun 6 21:37:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 137839 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1289769lji; Wed, 6 Jun 2018 14:37:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJHQzRXkA79bNJn1BYFO0ySNFLE1muZj0FEQ7L/ThtFdyPVVuJslpEFr1mHts01Lxq2T/er X-Received: by 2002:a17:902:22cc:: with SMTP id o12-v6mr5022374plg.38.1528321066872; Wed, 06 Jun 2018 14:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528321066; cv=none; d=google.com; s=arc-20160816; b=xOsPj8qQQasvqD1dn5jVg38GAyS2q+cNVOACCAtvWPeRybTjHfixi8M8nLnuEt/bNr ISfkw9RFCggH1P9a1Nu9m948RY1CbTulgbK5IjUa6RGa5Z8tjJKv6KRadHGWAZ5Gyzkz UCj5/VBd3IDBKJD09tH45qV7oq6oPf454dY+0B6iqirbQERQBVG2hQ3/vgvKaKdnwF8t +6X4H+YDs7Xmc7QJZ+xCIyM+TOIgDxJsp9M9A2t5gh+8uhjBVgNcWHPL8OwuNy2og0Au 84CHY7nZrupB3UOBY7+c9eM4kHbvRsuotFlxCy2guPg62uTRke3UJWdqBC/168rNV5Ug zxVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=qAPfjUD+Ha9ZZDW1G5rLRlYoZJhK5hrsAyclQ1vWKco=; b=IwZ2Z8XqlfSxasxQO9+D92OErCsa97dICzfD9mYFVAPda0/2n+i589R6NWiWRqkwz1 Rdp61HvCZVh40t2pOpMive8jQYtemSG22+kSXsduZ21J1Ii3Ke5ILGKhf8Jr4pOalJRy O8wVGqpUHexi0dIVXhGsdmDJFpnF7B0yxoor9W4Ik5j6DiP0uOe0u/q2CR1RtPYZR+ce cgH6PC0EDMYeMmusBmyWv1DF1BzLg02VMXF4Uipup5R8qFaT1qP4yFWYH3AgJigHgu/W 3rTgkeFc6wMTVKHmioahGbjG2OsLOgedfOqi599IdRwH1QmK/ESjb2ymaWLRozC4frQf iszw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=tKD6vsDY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w9-v6si54959081plk.28.2018.06.06.14.37.46; Wed, 06 Jun 2018 14:37:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=tKD6vsDY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 056AA7824F; Wed, 6 Jun 2018 21:37:37 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by mail.openembedded.org (Postfix) with ESMTP id D28B277170 for ; Wed, 6 Jun 2018 21:37:27 +0000 (UTC) Received: by mail-pf0-f178.google.com with SMTP id b17-v6so3773385pfi.0 for ; Wed, 06 Jun 2018 14:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0Q26my5jT+qelTva3Pyh1VoVTTSr4tDOG2YWUk2ZKSo=; b=tKD6vsDYR73BZ27kAPoc6Dy124Zlg0ocEEBc717hhhXRHFI0L+Sn/HIIF/EbVvLmZO gXrVAOhTjY4uHVozD7XvYE8MWlw+RJ6yWl2QOG43s5hwU7gyxArS5Q7UvXSq0uPbocHS qZHLHK6ogk1AAojqpcqyY/afQTRcbOI4uQXDqSmulqedNcy5Mr7YP2VvKx/GGjdIzSeN gy9pktXdyPNIxMIn7YjcPndYzuOWGWQMLkYpr1ETVYaZwaLljSEmiHujm4IZlQHbxwST +xOppWx1Qec8JIvBoKQuNKynKNW4JwNiH+dJyRZc3hdmw+sim4OqrgEYJLEQykfgaInh TDaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0Q26my5jT+qelTva3Pyh1VoVTTSr4tDOG2YWUk2ZKSo=; b=oP3PwfYsM+twsfcAh9iGggADMkSmIk7aTVJRlTW9eTOZoIYvNzb4bE5fiIEKslf3k7 rSIatdqwblYpGNAc05RMqHmk4mzaiJPhajHbDFx53LTQSuX/tEO6SaYCb3Na/E/aOEWK 1Bhu+W+lM9VuJ/TXMAxvNMafLRUUtjPxkfk3V9iESdMTpfMTNJU7x0h136btJkN3Vb3d ykBv4AGVVtibvUeie2eFY50aKNXcuIVUExY/sh1E4ZWCX5ayDW5igKdTF0Vjes5pBi2J 5uODczgV/A7iePvXsLH9X1XyilrjgEV0JTpmo78+jytAjIDVulaixorV+J84zDh9NdMy 6e0A== X-Gm-Message-State: APt69E1K46hc+wIroJKz7HLZGXqq89nDhaemoVqfLuZSQ06nMLEfeIs9 LBnElU38+IEIqaL6yij86VRC5Q== X-Received: by 2002:a63:715d:: with SMTP id b29-v6mr3974898pgn.325.1528321048599; Wed, 06 Jun 2018 14:37:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id c191-v6sm30452374pfg.48.2018.06.06.14.37.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 14:37:27 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 6 Jun 2018 14:37:19 -0700 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 03/12] tune-mips-74k.inc: add tune file for 74kc mips X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../machine/include/mips/tune-mips-74k.inc | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta/conf/machine/include/mips/tune-mips-74k.inc -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/machine/include/mips/tune-mips-74k.inc b/meta/conf/machine/include/mips/tune-mips-74k.inc new file mode 100644 index 0000000000..94afee34bd --- /dev/null +++ b/meta/conf/machine/include/mips/tune-mips-74k.inc @@ -0,0 +1,37 @@ +DEFAULTTUNE ?= "mips32r2-74kc" + +MIPSPKGSFX_MIPS16E ??= "" + +require conf/machine/include/tune-mips32r2.inc +require conf/machine/include/mips/feature-mips-mips16e.inc + + +TUNEVALID[74kc] = "Enable MIPS 74K with DSPr2 processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "74kc", " -mtune=74kc", "", d)}" + +AVAILTUNES += "mips32r2-74kc mips32r2-74kc-m16" +AVAILTUNES += "mips32r2el-74kc mips32r2el-74kc-m16" + +# big endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16 +TUNE_FEATURES_tune-mips32r2-74kc = "${TUNE_FEATURES_tune-mips32r2-nf} 74kc" +TUNE_FEATURES_tune-mips32r2-74kc-m16 = "${TUNE_FEATURES_tune-mips32r2-74kc} mips16e" + +MIPSPKGSFX_VARIANT_tune-mips32r2-74kc = "mips32r2-74kc" +PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2-nf} mips32r2-74kc-nf" +QEMU_EXTRAOPTIONS_mips32r2-74kc-nf = " -cpu 24Kc" + +MIPSPKGSFX_VARIANT_tune-mips32r2-74kc-m16 = "mips32r2-74kc${MIPSPKGSFX_MIPS16E}" +PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc-m16 = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc} mips32r2-74kc-m16-nf" +QEMU_EXTRAOPTIONS_mips32r2-74kc-m16-nf = " -cpu 24KEc" + +# little endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16 +TUNE_FEATURES_tune-mips32r2el-74kc = "${TUNE_FEATURES_tune-mips32r2el-nf} 74kc" +TUNE_FEATURES_tune-mips32r2el-74kc-m16 = "${TUNE_FEATURES_tune-mips32r2el-74kc} mips16e" + +MIPSPKGSFX_VARIANT_tune-mips32r2el-74kc = "mips32r2el-74kc" +PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2el-nf} mips32r2el-74kc-nf" +QEMU_EXTRAOPTIONS_mips32r2el-74kc-nf = " -cpu 24Kc" + +MIPSPKGSFX_VARIANT_tune-mips32r2el-74kc-m16 = "mips32r2el-74kc${MIPSPKGSFX_MIPS16E}" +PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc-m16 = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc} mips32r2el-74kc-m16-nf" +QEMU_EXTRAOPTIONS_mips32r2el-74kc-m16-nf = " -cpu 24KEc"