From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9436 invoked by alias); 7 Oct 2006 01:25:23 -0000 Received: (qmail 9381 invoked by uid 22791); 7 Oct 2006 01:25:22 -0000 X-Spam-Check-By: sourceware.org Received: from smtp108.sbc.mail.mud.yahoo.com (HELO smtp108.sbc.mail.mud.yahoo.com) (68.142.198.207) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 07 Oct 2006 01:25:21 +0000 Received: (qmail 28518 invoked from network); 7 Oct 2006 01:25:17 -0000 Received: from unknown (HELO ?68.125.160.65?) (timothyprince@sbcglobal.net@68.125.160.65 with plain) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 7 Oct 2006 01:25:16 -0000 Message-ID: <452701FC.9070108@sbcglobal.net> Date: Sat, 07 Oct 2006 01:25:00 -0000 From: Tim Prince Reply-To: tprince@myrealbox.com User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: ranjith kumar CC: gcc-help@gcc.gnu.org Subject: Re: Regarding SIMD features of GCC References: <20061007002405.63420.qmail@web27401.mail.ukl.yahoo.com> In-Reply-To: <20061007002405.63420.qmail@web27401.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00057.txt.bz2 ranjith kumar wrote: > Hi, > I have the following queries: > > 1) Apart from general optimizations (enabled by -O3 > flag), what is the total list of optimizations done by > gcc(GNU C compiler) for Pentium-4 processor? > ie)processor specific optimizations only > > Can any one tell any source where I can find them? An answer which comes to mind is to look in gcc/config/i386, in the source distribution. > > 2)Where can I find list of functions and data types > defined to exploit SIMD features of Pentium-4 > processor by GCC. (I am familiar with SIMD features > of Pentium-4.) How about the architecture specific include files, like ? From the title, I thought you might be interested in gcc-4.2 vectorization. > > 3) Pentium-4 has special instructions like MOVNTQ, > MOVNTPS ...to enable data from XMM and MMX registers > to be stored to memory using a non-temporal hint. > > How to do the same in a C language? Not unless a compiler has a feature for substituting those instructions, or you take advantage of .