From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: CPU-specific builds Date: Mon, 03 Oct 2016 09:19:41 -0500 Message-ID: References: <5985e2f0-edd3-c40b-bb10-f84b233bb48d@uq.edu.au> <871szyho3h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br46D-0005Qv-BA for guix-devel@gnu.org; Mon, 03 Oct 2016 10:20:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br468-00044n-BD for guix-devel@gnu.org; Mon, 03 Oct 2016 10:20:08 -0400 In-Reply-To: <871szyho3h.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ludo@gnu.org Cc: guix-devel@gnu.org, Guix-devel On 2016-10-02 08:33, ludo@gnu.org wrote: > Hi Ben, > > Ben Woodcroft skribis: > >> Currently, we build a single set of x86_64 packages assuming SSE but >> not SSE2 instructions, but sometimes it would be nice to use more >> recent instructions like AVX. > > Ideally, software for which using these CPU extensions makes a > significant difference would do what glibc does, which is to provide > several implementations of the relevant functions (one for SSE2, one > for > AVX, etc.) and have the right one be selected at load time via an IFUNC > or similar mechanism. Our openblas package does this, too. -- `~Eric