From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23443 invoked by alias); 4 Nov 2014 20:32:02 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 23424 invoked by uid 89); 4 Nov 2014 20:32:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail2-relais-roc.national.inria.fr Received: from mail2-relais-roc.national.inria.fr (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 04 Nov 2014 20:31:59 +0000 Received: from ip-149.net-81-220-91.toulouse.rev.numericable.fr (HELO laptop-mg.local) ([81.220.91.149]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Nov 2014 21:31:56 +0100 Date: Tue, 04 Nov 2014 20:32:00 -0000 From: Marc Glisse To: gcc-patches@gcc.gnu.org cc: ubizjak@gmail.com Subject: Re: [x86, 2/n] Replace builtins with vector extensions In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SW-Source: 2014-11/txt/msg00229.txt.bz2 Ping? https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01808.html On Sat, 18 Oct 2014, Marc Glisse wrote: > Hello, > > this time, +-* for 128 bit integer vectors. I am using an unsigned type so > the compiler knows that we expect wrapping. I don't know why Intel's > description of mullo insists that the multiplication is signed, that only > matters for the high part... > > Next parts (waiting for approval for this one) should be: > - same thing with 256 and 512 bit integer vectors > - & | ^ (integer only) > > Maybe (or it can wait until the next release): > - < > == abs min max (integer only) > > > 2014-10-20 Marc Glisse > > * config/i386/emmintrin.h (__v2du, __v4su, __v8hu, __v16qu): New > typedefs. > (_mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64, > _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64, > _mm_mullo_epi16): Use vector extensions instead of builtins. > * config/i386/smmintrin.h (_mm_mullo_epi32): Likewise. > > -- Marc Glisse