From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 5F9733857C5A for ; Mon, 13 Jul 2020 07:48:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5F9733857C5A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jbeulich@suse.com X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3FD28ACDB; Mon, 13 Jul 2020 07:48:03 +0000 (UTC) Subject: Re: New x86-64 micro-architecture levels To: Florian Weimer Cc: Richard Biener , "H.J. Lu" , GCC Development , GNU C Library , Tom Stellard , llvm-dev@lists.llvm.org, "Mallappa, Premachandra" , x86-64-abi References: <87365zz3a6.fsf@oldenburg2.str.redhat.com> <87pn8zuaky.fsf@oldenburg2.str.redhat.com> From: Jan Beulich Message-ID: <00b82e0f-ba85-f8ec-23b0-5696b31c1b61@suse.com> Date: Mon, 13 Jul 2020 09:47:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87pn8zuaky.fsf@oldenburg2.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1012.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 07:48:03 -0000 On 13.07.2020 09:40, Florian Weimer wrote: > * Richard Biener: >>> 2. I have a library with AVX2 and FMA, which directory should it go? >> >> Eventually GCC/gas can annotate objects with the lowest architecture >> level that is applicable? > > H.J. has patches for ELF program properties. I think > GNU_PROPERTY_X86_ISA_1_NEEDED would convey this information. This > proposal and the glibc patches are independent of that. >From (partly just halfway) recent discussions with H.J. I gained the understanding that the piece we're aiming at getting to work properly is the recording of GNU_PROPERTY_X86_FEATURE_2_*, not so much GNU_PROPERTY_X86_ISA_1_*. If the ISA one is to be used as a basis here, a lot of new flags will need adding (and properly setting) first, I think. Jan