Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp883874pxj; Fri, 21 May 2021 01:07:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUXDA0cfvyt0Ys1Q32Dq1nfrn0qUras9XOLdfeHi2MjdG7ICSbMMQJqJfoWhz33J9m3Tu+ X-Received: by 2002:a17:906:24d2:: with SMTP id f18mr4434458ejb.145.1621584462554; Fri, 21 May 2021 01:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621584462; cv=none; d=google.com; s=arc-20160816; b=Zm2Rxng2YpBWBHF9xhyKdmz4QY0/Jgi56bRNBlImQsnlacLwKUR1iuLlNb46QxfyHF uSA10n4qBTLJSpVmXwh701BT/+39pVF0iUx1PeiKE8LI9VjyOVmo9EQAIpL/OcvQ7NUA sPgGJ/Nro4hZPBBkc+RUAxsiQow/ZmezsWIhoRjZbWeVL2/tPKYnrZm69XsSDDYQa6Rk Kc3oKprzAYXDJ5y4c+E7fj0oYVpxpsxBVehx4WD7OSvC+4Nct9i7bylrpqH2MTPDJSeu d0tTPKyA4nKcz7mSUDt64S9MkaIeEhTVJ/g0Dsy5749wpy5r1ezTcKhiP+JtZomf6xt5 vfew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=6QZCjGGQzo62kjW+htbxsvDcnxh1XkGFFLyzifku0P8=; b=t1Zn8rXLLsgkF50WktM9tj5Nhp4V+IpYNFEtV+GqfmhqtbJSsGNaxQGGvhLnlM9SJr e4RE5+KQK1g7PqgKt4ckCrJankN/+uH2T/qMKqEi5McR0libRwMy8hruI6RkGfPjzptk vzTo/c3CXPUVRE5RO7vuKaD9spfOuSBlNyIWMNnv55RMzlshwTemOZdlniVw7f505N2s CtZj9J0pmbMGXUTkm5tLQB5rKhTkRah5iDfqmAJdiWovGp3Aa8y2yN+gQbtbPV/sMD05 XuL5dW1RvAxP7nC/h4TBNJnAGoW4h0jpY4mw8V1dlHlHOxn1DAEl4oOMgVcsLqk67kuY HIRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a42si5554411edf.188.2021.05.21.01.07.19; Fri, 21 May 2021 01:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230142AbhETVYe (ORCPT + 99 others); Thu, 20 May 2021 17:24:34 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:44580 "EHLO mail-ej1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbhETVYd (ORCPT ); Thu, 20 May 2021 17:24:33 -0400 Received: by mail-ej1-f50.google.com with SMTP id lz27so27444302ejb.11; Thu, 20 May 2021 14:23:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6QZCjGGQzo62kjW+htbxsvDcnxh1XkGFFLyzifku0P8=; b=m9x16Z5pRS6D1i2o+NpeJ/6q0Re49pzFKZSCL/W49eHiu8DBgyUCnWbjUqT4Tb/jq9 vKnTEAEHJM8VgwGSRXZnHuw9CgUTaNqrLP/8SGCkEpSf57HqYQMJmkn4j1ihv2jAF6Ex tNdNDyjPy03F841Hr/Nxz67Wy2wZD59AAFgQGa1KCVm+wX0Vg0XlaA73qOAChs07XOXU 64wa5a0Z3O85VfUC3SUqkH4KGElPEjZ9PmkteCMQAOSdv/rtoi/hUwV9K/wqN5RF5YHP Z8huClyqpqlBsmZU32IlqvfvNP3zm+fOSax/6SM89xHp/oj7WiauUvJzW5qxeWSZvHnR rcFQ== X-Gm-Message-State: AOAM531oKFpTTMNhs5CcxytE9kYqMH34+LT0g5+4FeFFqHjnBgNhQH3Q c6LvcnNoXLx8SbGrXvE1NY3srYDVhPyCWDdU6rc= X-Received: by 2002:a17:906:2dca:: with SMTP id h10mr6480711eji.507.1621545789994; Thu, 20 May 2021 14:23:09 -0700 (PDT) MIME-Version: 1.0 References: <20210415044258.GA6318@zn.tnic> <20210415052938.GA2325@1wt.eu> <20210415054713.GB6318@zn.tnic> <20210419141454.GE9093@zn.tnic> <20210419191539.GH9093@zn.tnic> <20210419215809.GJ9093@zn.tnic> <874kf11yoz.ffs@nanos.tec.linutronix.de> <87k0ntazyn.ffs@nanos.tec.linutronix.de> In-Reply-To: <87k0ntazyn.ffs@nanos.tec.linutronix.de> From: Len Brown Date: Thu, 20 May 2021 17:22:58 -0400 Message-ID: Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related features To: Thomas Gleixner Cc: Borislav Petkov , Willy Tarreau , Andy Lutomirski , Florian Weimer , "Bae, Chang Seok" , Dave Hansen , X86 ML , LKML , Linux API , "libc-alpha@sourceware.org" , Rich Felker , Kyle Huey , Keno Fischer , Arjan van de Ven Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 4:54 PM Thomas Gleixner wrote: Thomas, > > AMX is analogous to the multiplier used by AVX-512. > > The architectural state must exist on every CPU, including HT siblings. > > Today, the HT siblings share the same execution unit, > > and I have no reason to expect that will change. > > I'm well aware that HT siblings share the same execution unit for > AVX. > > Though AMX is if I remember the discussions two years ago correctly > shared by more than the HT siblings which makes things worse. I regret that we were unable to get together in the last year to have an updated discussion. I think if we had, then we would have saved a lot of mis-understanding and a lot of email! So let me emphasize here: There is one TMUL execution unit per core. It is shared by the HT siblings within that core. So the comparison to the AVX-512 multiplier is a good one. Len Brown, Intel Open Source Technology Center