From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105172 invoked by alias); 17 Mar 2017 03:39:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 105151 invoked by uid 89); 17 Mar 2017 03:39:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: smtp.gentoo.org Date: Fri, 17 Mar 2017 03:39:00 -0000 From: Mike Frysinger To: Victor Rodriguez Cc: libc-alpha@sourceware.org Subject: Re: [PATCH] Add avx2 fake-capability, like tls Message-ID: <20170317033949.GI24205@vapier> Mail-Followup-To: Victor Rodriguez , libc-alpha@sourceware.org References: <20170103195311.22870-1-victor.rodriguez.bahena@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Gs9iBZf6UKWgztis" Content-Disposition: inline In-Reply-To: <20170103195311.22870-1-victor.rodriguez.bahena@intel.com> X-SW-Source: 2017-03/txt/msg00358.txt.bz2 --Gs9iBZf6UKWgztis Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 831 On 03 Jan 2017 19:53, Victor Rodriguez wrote: > The idea of the patch is to provide AVX2 capability to glibc, original > patch from: Dimitri John Ledkov . > It has been proved that the use of AVX2 improves the performance of current > numerical applications. With this patch the Linux distributions will be able to > handle AVX2 in glibc i don't think this description is accurate/relevant. looks like you're trying to add a new search path to ldconfig/ld.so.cache so that people can build libs w/-mavx2 turned on and then put them under a path e.g. /lib64/avx2/ ? you can't add arch-specific functionality to common code like this. this patch will break all non-x86 arches. i think you want to actually be updating these files: sysdeps/i386/dl-procinfo.[ch] sysdeps/x86_64/dl-procinfo.[ch] -mike --Gs9iBZf6UKWgztis Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAljLWoUACgkQQWM7n+g3 9YEGNRAAjMMvvEmJDI2DbSwgS7qxqPJQlKNcgWPAgKO2CVqzVUT1wPciebUG5Lop 60BmMrjhfLeLyp0c3yXezSu8guAk0r1zPK5H904owk1VJwXOVQ4Cef730KXgHw61 OHO5JGDwt0oS4AJWOQ8tbKrVCwrTpaBbIA8Wjgq1Rzx9361BRmoNJnU+YHSRFcH3 EKex4e29Tz48ojIXE42m6q+aG+AusJUxwCxmpkyS4/OO4lK8z/30qPzYSsF6ohah +i2UojLp4Cg0oYgjoiDhYpzbDjc1G7je0As7v2KzmYxjxwmfsAVSkF9DJYWTNSTC xzP3xwtVt7zVp5JDA71MxCtRebTb/qbcvG357+U7PdMqkDAFCkAo/tXsArQ1usAL DurIohiyhx7U1KLqhGICNKc2OIdCHudHuv7RGsER+GxjX66oZmTPQlCcBlpMPS6V 1RKRCZRIqCP5esaxkLhqvPch8+k2zNe06amVb6XL57JLrThYfg4FCJd0/Ee8aTfe u57l60njc8gIh5hfrouz0pXWxmvrMSTOq1tWg5H+Zkn53M8ioapuf79L0e6sxLbB 0CSRavR+c8xoZUkSqoY6S5xQ35+6fPxI9wz5UjMR/bs8UoPmFDZLveAFFZ8qYXH5 NpeO3vtcUXZE5zi3gN7okd6ESrDGQQPAllcpsktYyNzKomxl7rA= =YBJ+ -----END PGP SIGNATURE----- --Gs9iBZf6UKWgztis--