From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 30 Nov 2022 13:22:43 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p0M6s-006ADr-9g for lore@lore.pengutronix.de; Wed, 30 Nov 2022 13:22:43 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1p0M6r-0000W9-9p; Wed, 30 Nov 2022 13:22:41 +0100 Received: from mail-he1eur04on2057.outbound.protection.outlook.com ([40.107.7.57] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0M6N-0000W0-Qk for ptxdist@pengutronix.de; Wed, 30 Nov 2022 13:22:13 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GnE/HD6kFM5IvjUtXx/0s509ktkcRiX3nRsvEZI6oEeR/no3HjnJwSwIYnLAKRK37jXv2NLAssEW/Mqrr5SHoM8SdIkZFrvGw9zVUweljXx+FOWff41eUZHV3t1mEUsLPYA8X+XGJuVnj6O2tv9wUgd3XvUgVY4c8z1V+157Z9ZYCHqMdVOWZFZ33ywmfja2Og8JPgYTtJSJhnULfKkTDNMbVVpZKvEk/DYZPzpWbEsjKQAa/+BcxlJYme2kWxgMH4L1ixClE2jJjeT5nJmr/hTTdsDmr1dw6qP8lfuC2m/ocqvXTyDPMbb5hoo7esE984ovdEVscm1VujEM1sS6NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M4Ch55wUEYFuhkrfwzr4y5cXxOhHidpxuPeDpzeYJSo=; b=SWJiv82FGst56Zg8LqjdRsgl5qJfH8CgmRyfATv8JeqxFWjZxNl6+SXcOcBykfBHKHPBemGdxOuXLiCwl2aUyaPTt375subwkMh0Fu4pTcwysbi0QASZgYZ7HA/lSCuFk36k4uHn2keYoCftB351qpFhB9fdYH0GNv14KBu7kM9DFAX2K5vvRGy1q/pkFiCkHYDwNZ+ejrBZ7oi6EAkGc30JP/NuDATRom/z7N+gls/IoD+rLqUrI5caCj/JwMrgSIa4mJZaLtWXc/eE8LroiQl8R8eaib2zh7C6AY5d0+HupotTRq6zKHogj1TfbCUF1SpmF/mOKR5NE6MGIJqQdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M4Ch55wUEYFuhkrfwzr4y5cXxOhHidpxuPeDpzeYJSo=; b=J5ucDT0wN+ZKx9hU+Wdj9yw1Zp2vMsNe+Jh9yS7hb7CykCPtD/AjTu7YLZRH1CJ5JSGR835XOGfcZ+JfA9Flpt8sIhgYE+oEh3kyL+lzVUyktMlhJ2EFFoeeU0ySS73f3Y2EbCk+Sk8Nz6F7M/GHZ6ePiktfC7nvxpjV8C83wxA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by DU0P251MB0575.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:32a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Wed, 30 Nov 2022 12:22:08 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::db66:4269:9534:aab]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::db66:4269:9534:aab%4]) with mapi id 15.20.5857.023; Wed, 30 Nov 2022 12:22:08 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Wed, 30 Nov 2022 13:22:01 +0100 Message-Id: <20221130122201.743603-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV3P280CA0046.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:9::17) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|DU0P251MB0575:EE_ X-MS-Office365-Filtering-Correlation-Id: 65a56caa-63a1-412e-9741-08dad2cd7fc6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KeFcPCMnlB2o3EIovqUWuS1gCVJzVdj4zdqvIlwo5hKMN/b5r6H+VBs0fQ5u4lZJAbYhm0c7ieJMyhDzLNdE4OI4sxO7s4uAEGNX3/K9m5RyHw5nQ+raGOtpJoPKNSHa+W1QKgta7RIEkyCr6BK+Av7yjS8ydlhoYTcrZN69jM9H39e31SvwW9j8gXbjL8XJg/Jh+ybtBdt78bIg8BqnJlLo+/S1VcYvm3XZpORowhhp/cdvBNOR30dq0n2C3Jq9hi3r3B0atNtRnkPSnvoQpFwWqNF7hnkHq1XN/0ZGt197Qz+mYp/inKXyUUNISYfpdKq9EYBb4bx9JC1W0dKFSxLUJOEYl+8ZtkfSC1C3rVWVALlXzIJJ7T7eub6G7O7/N+qp0oCyvk2451I7fDbwMR8eI6miOf0Tg9pKNVna9TUzcuEoN8gz8W52IZkBd1abwN2aMC4udy11JKayv73BckBxrymyPtFL7Fq0cojWyWAGzSrfbgadIRew3cSnKfZZ5jvdbzH4MdnOpEw08FCv89hwwO2YHSQX98XMaiZDaSFwAbWMZzHcm3yGuLWk9WwJh+YjmILrit6OBTx2zPdAsHrOrmhoDR7eCQnErybXu0ZXW8Bg8ij8FJqjGyvEGMpS/96Ta6SYZ+GrZ0mApMlEaEIqVWI/ibe/lzTB9JAaYVmat5pmjxSDNvS/gVC1V/vS X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(346002)(376002)(39830400003)(366004)(136003)(396003)(451199015)(6512007)(6506007)(52116002)(6666004)(86362001)(6486002)(38100700002)(36756003)(186003)(38350700002)(1076003)(2616005)(8936002)(66946007)(26005)(478600001)(5660300002)(2906002)(8676002)(6916009)(66556008)(41300700001)(66476007)(316002)(44832011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?FC5igZ2+jtj6Od+X7Vxp4zYZakPNeRpqlZbMhK9umJRvaJisIM3u00xPDwXT?= =?us-ascii?Q?SVvqXj8FfJfC7e/2hdeba/jmijdf06qrQchgMuFGNCAQC4QkTpwxGnK43Uq2?= =?us-ascii?Q?ZfOw1Xfj6RQ5gwxqjWJASNa4nYtcGG/FMEMNNKky3atB9U4ifd387BmmA5VD?= =?us-ascii?Q?0/weILurwylO3sPGu86B/Jv4qOES/kQecTqN+VePfVpwezPuiWtz0j816ZkT?= =?us-ascii?Q?1kSYhbMFMSP4j53EKKLN8pTtZbIfIdC7QCyKPFvVVdIehokKUkDDQniV1fFz?= =?us-ascii?Q?aOZFf93BkVTwCHs+CBQ4SPj6car7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ERGzykHIcvWCJFVkfbgW4/vEresYWP6hSDaFDLG57tW20s9p5JUpVeSkjt?= =?us-ascii?Q?67bvKNEcgfwZ0QGMTpYDI03YoePvcTJ4VHuqqZpk7njF2nBqVUzSWsBrJoC4?= =?us-ascii?Q?dK8BdzDAVppMW12ExivUPrVIrScCiy3+RBv4JzSrLYvntwkdL6qPrbWWLq2n?= =?us-ascii?Q?Cr4vrF/aoTSeYNbGG6LB7jLSgyGSPV9UZYfeik/5nNSd0i8wXjxuJuN6mN3Q?= =?us-ascii?Q?Tprctek//o/IbvrJdxoQcY+KK8LR6ZOl4hZ2rEeL2gj9xLIZ0FRZDZ9AywuM?= =?us-ascii?Q?x6sFtcldzVdEQWxcirzlvb9Cxe4SCmbWx3mpgvis7UiD0n9lxSML10WB/FA9?= =?us-ascii?Q?7RU88kzh0P+3kNzb3yYyBc18yEQh+wB0eCSanHB1MTpe7K5UERt4M/22DqM4?= =?us-ascii?Q?8A=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65a56caa-63a1-412e-9741-08dad2cd7fc6 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 12:22:08.1289 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 02nZAWPcTcoDKO2MRQU7JWRbC+vbe6DLr4aSQXlGUOU3U4kiYeMi8zqsuOu8wbC0zbvNHQWDxz7p1J4IVXr6pTA4t0h6dJB35pP+8tz57mo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0P251MB0575 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] architecture.in: Add AltiVec tuning. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Even if it looks like PPC is a dying breed, add an altivec knob for PPC AltiVec/VMX/Velocity engine tuning. Altivec is present in more modern designs. Afaiu, Most designs that are >= Power ISA v.2.03 According to Wikipedia: Motorola/Freescale MPC7400 MPC7410 MPC7450 MPC7445/7455 MPC7447/7447A/7457 MPC7448 MPC8641/8641D MPC8640/8640D MPC8610 T2081/T2080 T4080/T4160/T4240 B4420/B4860 IBM PowerPC 970 PowerPC 970FX PowerPC 970MP Xenon Cell B.E. PowerXCell 8i POWER6/POWER6+ POWER7/POWER7+ POWER8 POWER9 Power10 P.A. Semi PA6T Signed-off-by: Christian Melki --- platforms/architecture.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/platforms/architecture.in b/platforms/architecture.in index 10df8deb2..deab8470a 100644 --- a/platforms/architecture.in +++ b/platforms/architecture.in @@ -269,6 +269,18 @@ config ARCH_ARMV7_NEON bool default ARCH_ARM_NEON if ARCH_ARM +# +# PPC vector instructions +# +config ARCH_PPC_ALTIVEC + bool + prompt "AltiVec/VMX/Velocity Engine" + depends on ARCH_PPC + help + This enables optimizations corresponding to single precision + floating point SIMD instructions on PPC processors. + This is present on more modern CPUs. + # # hardware / software floating point # -- 2.34.1