From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 01 Dec 2022 09:43:08 +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 1p0f9v-007D7x-Ia for lore@lore.pengutronix.de; Thu, 01 Dec 2022 09:43:08 +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 1p0f9u-0006cM-UI; Thu, 01 Dec 2022 09:43:06 +0100 Received: from mail-vi1eur03on2064.outbound.protection.outlook.com ([40.107.103.64] helo=EUR03-VI1-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 1p0f9f-0006b0-On for ptxdist@pengutronix.de; Thu, 01 Dec 2022 09:42:52 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LIzgHH7+HE8vsBXYwu57x0U/aN6JPp2LPKAMFqo1gmeufRWDYOHzlllS+6i3uYqjRSh18DjMGGe4PY+8Ma9RG/5gdI6ROEUHc4I9J42FGHpqmgL8WvAR0qus85kFbJfBv3qpDQY8Ej32sAb83wwpRpoAkZeB+FssjZcvmx85/NokpHqnaJ0yijPUHZ8U546i3O3wt48m7ofwV5xzlKMsfoUaenv/8C7qtwRsR+91htUuBR4DTly/2BwaA6LA30I2NfIDmJKlUHfq/yqc6OPIcg/AAjx3YQzhblt6t9qm8EaDRuIj/cItqxiVLIp7k8AHf6ttK3z8vngF/+EhkJeKkA== 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=cHr+ojQDjsvyzpzqID7k9Z5Ibrge58vFEq7Anq8OFK8=; b=TS6v3wEuY2+KQ1l1lM/8UPp5m+FSqi3ubWWMJwJYzKW3tSm94JNSYO1liWN/CfCoKYF9l96ojrwBNPTT5eqPC215QaQ8fXT9D2gbP4sjI0E6ApbK+MOUq3XoMoY54dNaMVl5MGyQ7gSuOav7DectVivBP6VUe9F0wXkRJ/ry9E1fOaXWhaMal/UjKdwibna3vhKy66Nx2fotaKTtWQzv37ltkps88cqle5yuA+y72/2qG1oUdXI0Ui9CU5HQ5ySE926NEIIuFCqd1s2Nt/uof4PqdGRfD8QglrIMUAnySgZo5YnNVmgxrLdJHfMZuHsHNmtKJI8/Kp8RdqIbn6Ux0g== 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=cHr+ojQDjsvyzpzqID7k9Z5Ibrge58vFEq7Anq8OFK8=; b=IkKiqF+BF3/1nORMwblStJdJCNWs/vpLJr8+8go5h90aKdL5yBM2cLLr1fwQlyLdvIsuIyW1SnOoxKLYRMWYQj2mDCd8GLrGASed5tU0S3wbf9tIEFKrjFO/ufoSOGRrp9+VLi8WGcL/Znx0zAIB0p1ZOE2usgBLgL+byUVZuc0= 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 DU0P251MB0459.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:347::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Thu, 1 Dec 2022 08:42:49 +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; Thu, 1 Dec 2022 08:42:49 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Thu, 1 Dec 2022 09:42:42 +0100 Message-Id: <20221201084242.3929035-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GVYP280CA0008.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:fa::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_|DU0P251MB0459:EE_ X-MS-Office365-Filtering-Correlation-Id: 225a209f-f34d-423b-bcd8-08dad37806f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P0mQAMP6/ATgHXjLW26pRYTpniVPdRrm9BwOfBl8zJdIZ/CrX+K5KD41BPlLaxJ9EHfim2s+lllGZU4S4hb5y208hjAmJQRq3UeiZw6zLUsv6XC8KcsdU/PJYp5/G7jm9J1GTjVems3cRUpxd+jSBVSVR7OoXROasArw8bzBpazJIxobhA92zWPRRRaMxsRf60JlWBU+0rlbCzlREWYWFnnQMiVNA0h9uVkswg6kpkBhB8HA8NYuajH30jMHi+bIzZoUWes498RvQkYwX7inYWwQGiVl98l+ZubjGU624dQDLN/Xy0Xv58yiV4Dc9JYc1/IMFRRd24dEyiC0LH4LJdBrTCqsq+zXJc3mGqeuixZE20bc9bZH87B1bXhDmnO9DZsrg7G5vqJ9GOyVvSp/ZAvWZmV2wWhDRXurvwCzkGNPH+zVjt/ekEP9+aaUI1twOrE+oUvJ9b2uDNEvsINZ93YJ/puI2yZSVqsmjL8LObENOWxJ1JR5MEBWIeJsXLKPk2uonNl0LCPRaOFUHOT1POI0fk6zsD8gPt+DHIg6IM2vJ8IdORUMvG48/DpxZtpjJSmCbxs0izEbVtc7rr9cgoc7Lqhfr8wk9ahx1hTTHDBtLrDty1gzLEAyGSZLBDprtGqb5L5wC7QkPlOkJORWn2GLyu2jPluXLxHU3Za5dSOJ0JJX2sXsqeCxlfuDKA+A 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)(39830400003)(376002)(346002)(396003)(366004)(136003)(451199015)(2906002)(478600001)(316002)(1076003)(6486002)(36756003)(26005)(52116002)(6666004)(38100700002)(38350700002)(6506007)(6512007)(86362001)(2616005)(6916009)(66946007)(186003)(44832011)(5660300002)(41300700001)(8936002)(66556008)(66476007)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?lYBLtkfi0TX9gxBPbf/82fgx/2/eml/iAa31EsinOcJdGQFer5eFJOzCnAkW?= =?us-ascii?Q?6achmp6NVSrpQ72uoMpZ6858f9r5shmGFnZ1UJUrDXLbS6IVV/+jJvxunOQO?= =?us-ascii?Q?46ZuP54ZjK9okCnvZIn8g99eGoaNuaKid4aqaP2ABe67zmAPhSkAupDFZ+CM?= =?us-ascii?Q?JDeWoLvzoSkdp6cA1QcreCe7wKdtlQaFv4dWrRkdvjRpQhO5XVUuJK50WdXJ?= =?us-ascii?Q?M81quoKpWfe7yFf5jyig7GUGXpJGO7v9ihuUWcNjkg7uH33YmCA3hJBpkBjS?= =?us-ascii?Q?0SeT67blNNhLs/UrGhZ6n+j0yxOCuxgqqVwvaDcks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MAA/BRyflQraXWFrqFZd6DqrxbGFHiglyqxn94LYcj1/8wW?= =?us-ascii?Q?VoL6dwjXXkHLpYK5DU/w0YWHZxktkl8sJBdGdQbKulIWJrcWFq/0jff8OvhF?= =?us-ascii?Q?SWizHSt+vhk+cGMgSwIFy0k5jPYpKfH8npnJB48hMsxsBqKvfRo0XswD4nle?= =?us-ascii?Q?iXZU4F10OYpZLry/d2J3j88tPAMcMNaZxgq9QZoAMu4tIG5DVgYzLupekVcJ?= =?us-ascii?Q?S2bicrGcpu4d6GdMKA9TI9SDBpv9GP7KeHa2QkzuCZzFRL39I1/v6TSou8zg?= =?us-ascii?Q?Fm8Yk32HJEEBD00nYIF9KeEFJDMBK+G1r6U8tln4+63Ggo//3fFnCf71mThh?= =?us-ascii?Q?PAut4PJjM+vWy/BT0dUI1sWKSmaOrJbeZEU5zVMt1v6b86K49dLTMN7pr+Re?= =?us-ascii?Q?Jg=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 225a209f-f34d-423b-bcd8-08dad37806f5 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2022 08:42:49.4212 (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: D//0eCzRLxqS64qzSmBfBxm7IG3AGv/oQ+mMXpO7jly4ZZu08ZO+15LlCh1+FghJ3HzTleUdzlaQgnUOQueY7eqDy/CTeFUkE72eOZPPvUE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0P251MB0459 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, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2] 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..06ed36dde 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 and integer SIMD instructions on PPC processors. + This is present on more modern CPUs. + # # hardware / software floating point # -- 2.34.1