From patchwork Thu Sep 5 11:32:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 97156 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7D48A3850200 for ; Thu, 5 Sep 2024 11:32:57 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 1082C384F4B9 for ; Thu, 5 Sep 2024 11:32:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1082C384F4B9 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1082C384F4B9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725535946; cv=none; b=O5AuEeE4qZPFKaQVQFjZPQEDRN5z/b9CQsE06iKpwUaxcoJDGkGq3O1MMmA9FAbFx5R8CjP6eM4rS72tafuIQ9/lJ4sx7R3Snf4gapXGVul80uppdumMiMDDd9rgxVdSExOSGTvIeedcIF+I2yjGngxEMgFMgAJQW6Bm8TFIgEk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725535946; c=relaxed/simple; bh=f1Bdlf1oD7ScXgwEq4MIn6JNsC/Kd7kwct79URL19dg=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=FW3sVp5B8QgJ9/Raf/xztb8aaYzPDOs2zLmrxSGmH4LmdvtiAY4Pdx5Flk9sb8KCDlD2WfXfLpHT85+sIkFttJOs4ls9yPIf/wT5XtGLxH+pOTpegYcPUhDKiLWyHCBsWS9uYmvulye+9Biv1TAFB6rga3NXT3c63eXdsjiZtR8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a83597ce5beso111324166b.1 for ; Thu, 05 Sep 2024 04:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1725535944; x=1726140744; darn=sourceware.org; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=35/IpSteTERo6Xo1dXiOP/BL+m+oVeRhj2kDgNHfAjc=; b=S0cUQqIKXJNcT99Z2RH9JRdXIzFeV3NnuiwnDJ46096LVU4vX4r/mQjNr+Xeymvjej RRRFKYYBa7S7bkuYEPttAN59kC2BbgvhKKEDUbqE9Q8OebfG1OxH7xGSycg8xb243NeK 2YQ3q8qvaqeJeNpUZP0tY+tYx9VP2jhx1menQOv+D+eWrRRumFWv2tn3zI6WWm9pScsa +ZcOmZZzl6DCUTC8aE0ylmt5cNYSRL4J5oqAYVBSQ5XWQHxNuQD7PJQbcYVd1+yRl+uM OwxxEJCNS2EoeX4euAg1klaSlRpwuaU8AgVIuga4K9Hh98ZM22D9Y0o5Ph+YCPkf/2hq DdKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725535944; x=1726140744; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=35/IpSteTERo6Xo1dXiOP/BL+m+oVeRhj2kDgNHfAjc=; b=E3UCKU/sRqTDcmGuKzBfr5teBf4iDe74qOaPyMk8vu2PeUUitT+QkTVSkXGjMB328f pwm9MotyGKZV08gFyRht5F+aKapfMYmX6JpkBxk7MLeSF6F4lJPzRRPZ5q3Le8hU9Nb+ sGjyigBaMwVImr8tyIB7M3wnl187eundVXkzzJhvpYCbOg/ovNDGisK6SWaQia8JpOG6 FZ/ano/zs/muXkpH60Qtmqo8WRter5pSTJiknyFm0Ya7CpMbjm00NtOTnxRNfAHX7ZHT N5LNSO8XKJ2ZjymTYw+LyJAVe48twls5F3G0GqKKJ1uk1pNhNtT+HZRLL5WNMtn40ZPU UoNA== X-Gm-Message-State: AOJu0YySKWg6gQF3xoOBfxhfngcWtiSTLoM5NKGSkmBN71jhe/2wOT8a Sk1u69LBOiz+a7/hN/UPcKdjBiYzhxqPNxiu7xSok4gMdbO85iKl+bdzfPovabmIbhTaer9CnAA = X-Google-Smtp-Source: AGHT+IGVXN+nIMWP7Mr6l9hGHSNIpGRdC216atDJhRlvnRUnYqas54KYJPTMNw4s5MHftpZuLtKhtw== X-Received: by 2002:a17:907:d92:b0:a86:a6ee:7d92 with SMTP id a640c23a62f3a-a8a430914a2mr559717866b.18.1725535943518; Thu, 05 Sep 2024 04:32:23 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8a7c662bcdsm17591066b.34.2024.09.05.04.32.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Sep 2024 04:32:23 -0700 (PDT) Message-ID: <00efa750-04fb-4e65-a0b7-81ab68986df5@suse.com> Date: Thu, 5 Sep 2024 13:32:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Binutils Cc: "H.J. Lu" , "Jiang, Haochen" From: Jan Beulich Subject: [PATCH] x86: adjust AVX-VNNI-INT{8,16} prereqs Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6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I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL X-Spam-Status: No, score=-3023.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org These are more logical to take AVX-VNNI as prereq, retaining AVX2 as an indirect prereq. --- In turn the question arises whether AVX10.2 should consider both to be prereqs as well. The situation here isn't the same as it was with AVX512-VNNI vs AVX-VNNI, after all. --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -163,9 +163,9 @@ static const dependency isa_dependencies { "AVX_IFMA", "AVX2" }, { "AVX_VNNI_INT8", - "AVX2" }, + "AVX_VNNI" }, { "AVX_VNNI_INT16", - "AVX2" }, + "AVX_VNNI" }, { "AVX_NE_CONVERT", "AVX2" }, { "CX16",