From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id C68463858D1E for ; Tue, 20 Dec 2022 02:26:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C68463858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-x232.google.com with SMTP id s186so9476064oia.5 for ; Mon, 19 Dec 2022 18:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kYdAaDrJlb0cZWYiWISCbHgtjGieAruw+MeCt2usVeQ=; b=OqttABpI0VN4XbFm9+HBv0hBb8+/d4YBPErhMAKWjPHZNKXr8wWwtqjEcKWfpG2ijx JxmbMbei36Q+EJFz1XSPwgJoN+8hvgMUy1FmnT+kV2Y/sskB9y3XOCMAIT9ACg1rPzbt e7/+YjIEA0UrOwPhC374Ymb74H0pV2QHibYnSZd5i+N23aomSAmBuvQfgYb5SM/3FJUI lDlerfIC09X8AAFikuOSiKnDsbOJUtfvkj2sPuktcn+SmMI5Yv/uuFIjofuM5Dw8kpWU j4aE3KUAIkufesDTuvvE0BYZSFTBFpyVrB4D3ACeZs4YKM5FwbCTwYMqHpZZZPYTQK9V jQMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kYdAaDrJlb0cZWYiWISCbHgtjGieAruw+MeCt2usVeQ=; b=FXC5WTFNG8GVHied7UK8CLYWu0o6r9Q2CmUbfykbo+A84lBhCwmUcPW5klD20R+T3j LLr3Y3NhW6WmKmKPZiEZj+YbfPlShNX4/SR0fnZkkJRoqrzPdnR5BiQeIb+Xe/eoKf9W WBTaw/tij/Z1W52biOeDHf67PPeotrYH/Iu2D+ZSAjfHarXHAGiPpWsBbVyziSmW6759 fToOqje8PMw8BpjeqUwG1AqBVVbRNFMjS6cuHMXShznbsQ8Aj7LgmNmJBXJWg4VwFcv+ zvQWaSMa/VTq+4I2U7WHuEfXXYM28SazUloDvCuOilwhb8/GCnOx75ask0ZIcrzOBAhl V9Ug== X-Gm-Message-State: ANoB5pnqDujLVUuUdB6iMIzBSaWfzUuxaglYzL7StyPcukvK1EWJR4d/ yfiDepIQxMav4/l/kfMp2JL/cLn0Vv5frySbcVm8b+6yzSY= X-Google-Smtp-Source: AA0mqf6sZO5cwzCr4FNoNjYF7Kv016HMksOw9vhfRxcjPg7HHRt0frfSZBQovkOIdAcVFUlC6cB4ijgTjTnkcAON5vg= X-Received: by 2002:a54:4518:0:b0:359:d97b:3f6f with SMTP id l24-20020a544518000000b00359d97b3f6fmr1592661oil.298.1671503163074; Mon, 19 Dec 2022 18:26:03 -0800 (PST) MIME-Version: 1.0 References: <973d3274-7adc-3a7c-5aaa-916fd5adc093@suse.com> In-Reply-To: <973d3274-7adc-3a7c-5aaa-916fd5adc093@suse.com> From: "H.J. Lu" Date: Mon, 19 Dec 2022 18:25:26 -0800 Message-ID: Subject: Re: [PATCH 00/10] x86: re-work ISA extension dependency handling To: Jan Beulich Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3017.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, Dec 19, 2022 at 12:31 AM Jan Beulich wrote: > > Getting both forward and reverse ISA dependencies right / consistent has > been a permanent source of mistakes, myself included. Reduce what needs > specifying manually to just the direct forward dependencies. Plus a > number of dependencies weren't put in place at all. > > 01: re-work ISA extension dependency handling > 02: correct what gets disabled by certain ".arch .no*" > 03: correct SSE dependencies > 04: add dependencies on AVX2 > 05: rework noavx512-1 testcase > 06: correct dependencies of a few AVX512 sub-features > 07: correct XSAVE* dependencies > 08: add dependencies on VMX > 09: add dependencies on SVME > 10: correct/improve TSX controls > > Jan If a CPUID feature, like X, implies another CPUID feature, Y, disable X shouldn't disable Y. Will this patch set still support this without adding CpuX to all Y instructions? -- H.J.