Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3265177pxb; Wed, 14 Apr 2021 00:55:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWb+Tiu4ObvDuKyk7wmmFUeIZgSiENiZZmtZTZ+nvVBgMEOnW7nNQeRsk9zYSRDkmWBpYh X-Received: by 2002:a17:906:a10e:: with SMTP id t14mr29168914ejy.103.1618386954835; Wed, 14 Apr 2021 00:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618386954; cv=none; d=google.com; s=arc-20160816; b=I4sCN0ifCnJpKKCSdI9Lry6hxFSH/f+hz/MDmE9TMZeR3cPK9rvEipmvbop+RwlQVk 7MtDR5Wg6CW5hw3Ut0mSvh6e0jsAslxTddaiPelU3wdvogmfaz2g6pLKQxvgx4hZarK3 F74uGDmQcKK+l1S2ngb6YBw7JMeMMH9sjwhEGYj45bTQaRygP8BvMb9mZXMNLICMpXS9 0QziDsiywAYAqFEQIUtv9VjofMwMCF4dW62K38H9d8354x2dlS6+n6ltK+2mRQXgAq/9 Pl/NU/1M3hppbyPdIQ6q8b66HUMyOHeAfrOvv9krNMpGRAYk8XUkXfamReuIJTJHRK9I 87sw== 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=MKPJ/sPO22gfiF94hxW9McaKDO7hAr85uineOjYitIE=; b=cNQ8lGTMxBZU7h0+JgsWzekArrNrRaZgzrHLJBVdqhl1hbqd7BBlLUQupm46Is6IXM oxssezM4MxtggkGXZm8V80ng54z1/9sFoKDNQJyWP8A6V5AtyZPfVv8Pn95LByeenjqj FZxjo/o0h2rLElUUW0bJS5RZW5Gh/NgoSOOIKbRrsBN870Z/2hSQoBgdJFhL4Ih6jnVd mhRLHOiv17Jejybon5GWNLUlP/hVV1k9k4J4kmVG4i7SXveH20wnuY9hY0aUUcj0exo2 ZzLirwS/vM4VvZEmRBtD0Z6csZNNMpMPukpNvBYYNc57W6og3rI3437IrO6YEFgKyF/C oTqg== 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 bq23si13302921edb.111.2021.04.14.00.55.31; Wed, 14 Apr 2021 00:55:54 -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 S1346219AbhDMTwZ (ORCPT + 99 others); Tue, 13 Apr 2021 15:52:25 -0400 Received: from mail-ed1-f49.google.com ([209.85.208.49]:42623 "EHLO mail-ed1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbhDMTwX (ORCPT ); Tue, 13 Apr 2021 15:52:23 -0400 Received: by mail-ed1-f49.google.com with SMTP id d21so709993edv.9; Tue, 13 Apr 2021 12:52:03 -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=MKPJ/sPO22gfiF94hxW9McaKDO7hAr85uineOjYitIE=; b=EsqP/vO9ZbAGLtAvwCIwrZp+lcSc9fGHvQ6IPAvh6ShjOh7DNeSXG2gu2VKx7WpdJN QgXikBxoaIZZqpOH+dPkgA4cnSbDdxjm3YMM4yOG7X1SPmLHWK0rw9XP4CIbqu3CLujl hjaGZqHq+8h5k7B4BxF09zySU7f2xjQYL2b5XxipGmhVDAhC9AKT1XRfIVveHQYbCx1N k8fZWTrzInTGFgsr/bP5oa6NeXFQLmMkYWv9jbm3fz/7kq+K+QxkhZ1A8Fdzi5qCkaVs hPMHw7Rd3O7z/ck5Y7SQRg8mrLJKi3e4X9Q3hDfjEqXLrJHEHT9JFDXEExTQTJUaT286 wvig== X-Gm-Message-State: AOAM533oFfH6WbPYxnCbYugN424/1zZEr6tPKXFYWKt5fmdYWTYYEcYA cmdWGLmK88iT20EP1JVSnD0whpY2DmEE3sPV2eU= X-Received: by 2002:a05:6402:35c9:: with SMTP id z9mr36783451edc.94.1618343522468; Tue, 13 Apr 2021 12:52:02 -0700 (PDT) MIME-Version: 1.0 References: <87lf9nk2ku.fsf@oldenburg.str.redhat.com> <20210413034346.GA22861@1wt.eu> In-Reply-To: <20210413034346.GA22861@1wt.eu> From: Len Brown Date: Tue, 13 Apr 2021 15:51:50 -0400 Message-ID: Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related features To: Willy Tarreau Cc: Andy Lutomirski , Florian Weimer , "Bae, Chang Seok" , Dave Hansen , X86 ML , LKML , linux-abi@vger.kernel.org, "libc-alpha@sourceware.org" , Rich Felker , Kyle Huey , Keno Fischer Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for sharing your perspective, Willy. I agree that if your application is so sensitive that you need to hand-code your own memcmp, then linking with (any) new version of (any) dynamic library is a risk you must consider carefully. AMX does the type of matrix multiplication that AI algorithms use. In the unlikely event that you or one of the libraries you call are doing the same, then you will be very happy with AMX. Otherwise, you'll probably not use it. I acknowledge the issue with the toolchain transparently using AVX-512 for copying data, and how that approach impacted systems with a poor AVX-512 hardware implementation. FWIW. I'm not aware of any plans to implicitly use AMX this way, and I'm not aware of any non-Xeon AMX implementations in the near future. cheers, Len Brown, Intel Open Source Technology Center