From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31171 invoked by alias); 15 Mar 2008 04:13:56 -0000 Received: (qmail 31155 invoked by uid 22791); 15 Mar 2008 04:13:56 -0000 X-Spam-Check-By: sourceware.org Received: from caip.rutgers.edu (HELO caip.rutgers.edu) (128.6.236.16) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 15 Mar 2008 04:13:37 +0000 Received: from caipclassic.rutgers.edu (caipclassic.rutgers.edu [128.6.237.54]) by caip.rutgers.edu (8.13.8/8.13.8) with ESMTP id m2F4DXAE027990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 15 Mar 2008 00:13:33 -0400 Date: Sat, 15 Mar 2008 07:59:00 -0000 From: "Kaveh R. GHAZI" To: Uros Bizjak cc: GCC Patches Subject: Re: [PATCH, i386]: Committed: Macroize s and b patterns In-Reply-To: <47D84C12.20601@gmail.com> Message-ID: References: <47D84C12.20601@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 X-SW-Source: 2008-03/txt/msg00929.txt.bz2 On Wed, 12 Mar 2008, Uros Bizjak wrote: > Hello! > > This patch macroizes s and b patterns using newly introduced > int_cond and fp_cond mode iterators. > > 2008-03-12 Uros Bizjak > > * config/i386/i386.md (int_cond): New code iterator. > (fp_cond): Ditto. > ("s"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu, > sge, sgeu, sle and sleu expanders usign int_cond code iterator. > ("s"): Macroize expander from sunordered, sordered, suneq, sunge, > sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator. > ("b"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu, > bge, bgeu, ble and bleu expanders usign int_cond code iterator. > ("b"): Macroize expander from bunordered, bordered, buneq, bunge, > bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator. > > Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu > {,-m32}. Patch is committed to mainline. > Uros. > > Index: i386.h > =================================================================== > --- i386.h (revision 133145) > +++ i386.h (working copy) > @@ -691,6 +691,10 @@ > builtin_define ("__SSE_MATH__"); \ > if (TARGET_SSE_MATH && TARGET_SSE2) \ > builtin_define ("__SSE2_MATH__"); \ > + \ > + /* Define inline functions with immediate arguments. */ \ > + if (optimize && !flag_keep_inline_functions) \ > + builtin_define ("__SSE_USE_INLINED_FUNC__"); \ > } \ > while (0) The i386.h hunk wasn't mentioned in the ChangeLog and doesn't seem related to this patch. -- Kaveh R. Ghazi ghazi@caip.rutgers.edu