Message ID | bbc351cd-fa35-a3b7-8e2b-9d2edc4ab379@suse.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1148086vqr; Fri, 16 Jun 2023 00:29:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sis142DS1KlSamnJjh9+ynGzO/nMYQINq/eXhYWBJcFx1iP7ZgX2gJrbit21rdDuzLvmS X-Received: by 2002:a05:6402:1a42:b0:514:9e61:e7bc with SMTP id bf2-20020a0564021a4200b005149e61e7bcmr616324edb.0.1686900599677; Fri, 16 Jun 2023 00:29:59 -0700 (PDT) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id bf3-20020a0564021a4300b005187a457435si4096007edb.135.2023.06.16.00.29.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 00:29:59 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=lt4rRtP7; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 57EA838555A4 for <ouuuleilei@gmail.com>; Fri, 16 Jun 2023 07:29:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57EA838555A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686900598; bh=SSdKJ2vaaPffT8Jua/Cz228O54MNWgJr8Ea0kvaw+y8=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=lt4rRtP7XuPz+flG7oueYwqWYNS5uN++H94J2vXiCFdA6jC/O0AazLQAGLe4mohCH lDEH8C5BtDul0/SO8FJaS89BmzZT8G7nTQ6ef4Ko/LDMtQXRJxrRr+39URW7ZTB6Mn qNgpc/aSJnFCL80G6hMFXpjKA9j9bdhjpo7O2ut4= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2058.outbound.protection.outlook.com [40.107.20.58]) by sourceware.org (Postfix) with ESMTPS id 43D9D385701B for <binutils@sourceware.org>; Fri, 16 Jun 2023 07:29:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 43D9D385701B ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cnqGlw3q5J6gkZXx5UhDvLAxWogfYeS344M4Ajlotdj/ib7UtAAsrd9TZsNhnVsg1XpGgEHb0oJ08Xj0JqNU/CFIjJd5h4RFle3nmWvAOVbAdn5DcOT/XX8nRh3Rmtp4gMRw1R1FJ2eoH6u2R0/9u+j0LSVJxYR+6HgVfjYf/fkAtZ+CdUYpQC1xs2Hj7RjU2EwL/KX7xKSlsMr86yG72VP4rphIIA19u4D3H7VStB40mWM1ueVlpbBr0Of+9Q4wlc79TtxMrLJyK5YIHt3Vt7b71C8tA5tDfrHEgBOs5jq20QZMtJkmz4/nAxu5WoiYxrSBpn39UWKWqdJos9XaeA== 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=SSdKJ2vaaPffT8Jua/Cz228O54MNWgJr8Ea0kvaw+y8=; b=GxDgeGeHFpBL7GlvjgjiM3ITdLf6a7jiL/PEr73KpkPQy/EBBDTsNqffdkMlnMne5XhmlZZxkaFNj1OQf1LdXJQvMnmrLOJgdG+IZtyadgoHhG9J9O0vthOev0rgHYoGLJ2+mKq5rg3nvLcaPaqJc/68IZaxTHXpkGiNhbUlY23pJkS40Uc6PEr2FBVVtSvNHB9zfq9GFOhN9pInnghPW2fvIetTKd7ITcEPd8t/0LG71AzWTlCjQlZeydNRqEO/dOhGeIbHnZ31kZmMUTnaZUKtaKm1J6P44hwoCmVXUQJMkD82881u5OheVyEglT/3vlQk8KjF06ZuvBXt6/5wpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by AM0PR04MB6913.eurprd04.prod.outlook.com (2603:10a6:208:184::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.29; Fri, 16 Jun 2023 07:29:46 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::e442:306f:7711:e24c]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::e442:306f:7711:e24c%5]) with mapi id 15.20.6455.039; Fri, 16 Jun 2023 07:29:46 +0000 Message-ID: <bbc351cd-fa35-a3b7-8e2b-9d2edc4ab379@suse.com> Date: Fri, 16 Jun 2023 09:29:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: Binutils <binutils@sourceware.org> Cc: "H.J. Lu" <hjl.tools@gmail.com> Subject: [PATCH 0/4] x86: some more optimization plus a new pseudo insn form Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0125.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9d::19) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|AM0PR04MB6913:EE_ X-MS-Office365-Filtering-Correlation-Id: e6c2e476-19e7-45b9-836e-08db6e3b75a2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p+aSsUlApccoCU9sS7vjuKK9GaUQahdXjqdv8ra8y6q+2pf2b/0hi5GvXhI2SnWi9CEDgN0Vq0iLX5D4zwtDRTk3u4hxPhG8VinJrAqlDxtyHJJvi73YCgXbCfnw3aafgDtjOmnf6jE0t14pvRNSh/7QNuoj6h6UVX/Yb2qkvOmzsTvnq0ChgktDJ7IOejxpUH6UaJA6e1BDWpd7HsIVNWNJeZCUQruWEvOBDMnjEy34ssNcCBoyyss2/fCjq5g9wmrn1pLMS0eiVh9bo5GKuOWzgw3ObGWzAYyNWrUpw4faBDDfNis/FUQhxdhV5iOrRmIREG4wVvmGiLTuz7aD+HRbqBuQ8NxP3/dVHMgVUZb8Cg3EAo0tbDVEngmYgrDvpynJx0BFH8n/6NOfyUfL+yje0vNN6gnSL4hLD8MIdWhCAQH1GQ1JctHp8GvnudCFqhlB9wzxF6Q7p0gvpQOsfFnh26KXY8hj8KJjSsmfiT9cGxnhJmAOxdJESKKa72jBj+svlq3t/tvVyu6pR+gVUehjWZ9jSr3NeoiFsv20yh+j+lTh9hQEh06C6n3qibuGuJnvFjUY+9heA9cBCmGzHjQGNxUeBdAxtnqDB5fIz60ty6IfIn2ENz4RicsxCdM9/22V7uAEKRL6gIVJDuDPuw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6560.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(376002)(396003)(366004)(136003)(346002)(39860400002)(451199021)(478600001)(6666004)(6486002)(66899021)(5660300002)(41300700001)(8936002)(8676002)(2906002)(36756003)(4744005)(86362001)(31696002)(38100700002)(66476007)(66556008)(66946007)(316002)(6916009)(4326008)(26005)(6512007)(6506007)(186003)(31686004)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VnqmwTYIlDO13vClRFNkDjL7IrDX?= =?utf-8?q?E+BGc5yxJeGqjEHq0DUrRYCcEbVjeoixmnZl8kGlqq1+dZcHXmDgsdbBx61L48YKY?= =?utf-8?q?SvAHu7L5tP0/BrjK2QIbDKOaP2wXF+VyY1peKhxfQG2BltVfeuM6ydJbvCjYZmIBd?= =?utf-8?q?RZpg+ZYtETOrosttn4MuB3wZ7LLTaVkY9hVzxg9Mp9vgDfcNKcgLHzYw4Mr6weARS?= =?utf-8?q?/d3KgBNkHXWTU9+38ktREm5yjUT3BcVR5O6dZUGqsg10FldE7XfXVFtSSH0ZGBtMj?= =?utf-8?q?W7bt44WSJqdDICcs28lJF743g88l95PNBgrWQdLIt7xwquDWFeST2NFxowWmuaNsp?= =?utf-8?q?6ZCMnVPs6pFDZjpRQQag1P8T0cmCnkLc3HuRp3jeI9myEKA7GUXQ/9e3++RBgSlm2?= =?utf-8?q?fv7EgmrHUg3qDctAmCUQqI/3QomQQQT/hlgmGhomQQOLZz7eFT/5b3hHEDSCuijJr?= =?utf-8?q?7zmYA1YD3ORWvVWYdd41CKCGs3XpyPELBMiTWDS916kJRnvhhfN8xTY+jGoeRZczk?= =?utf-8?q?KjSGidft0iBdLo03/h1SOvrbjhKH+23VaNGShug2jtYVUVErhhmid+xu4lYlR4QQz?= =?utf-8?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-8?q?HJINbSrUplMf9uBVTYMqOS+YMMbDhuzzZJJcp2L5BmLb5ty2MWGou0cjufCZcwduR?= =?utf-8?q?tERcLhjnojuF?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6c2e476-19e7-45b9-836e-08db6e3b75a2 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2023 07:29:46.0605 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aJNmJTYZdjpvbKC4ZlTa/qKeGhzRo3znqzkjirKv13mxjBVE/6EZKFSTJSu0NJpeSxDMkK6G0LhBNf8+IXGQ9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6913 X-Spam-Status: No, score=-3027.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Jan Beulich via Binutils <binutils@sourceware.org> Reply-To: Jan Beulich <jbeulich@suse.com> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768843482855628619?= X-GMAIL-MSGID: =?utf-8?q?1768843482855628619?= |
Series |
x86: some more optimization plus a new pseudo insn form
|
|
Message
Jan Beulich
June 16, 2023, 7:29 a.m. UTC
While the first three patches here merely may require establishing how far we may want to go with optimizations which are possible, the last patch is at least partly RFC, for going beyond what vendor documentation states / suggests. Constructive comments welcome. 1: optimize pre-AVX512 {,V}PCMPEQQ with identical sources 2: optimize pre-AVX512 {,V}PCMPGT* with identical sources 3: optimize 128-bit VPBROADCASTQ to VPUNPCKLQDQ 4: provide a 128-bit VBROADCASTSD pseudo Jan