From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2707 invoked by alias); 21 Sep 2009 12:18:58 -0000 Received: (qmail 2699 invoked by uid 22791); 21 Sep 2009 12:18:57 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mms2.broadcom.com (HELO mms2.broadcom.com) (216.31.210.18) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Sep 2009 12:18:53 +0000 Received: from [10.16.192.224] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Mon, 21 Sep 2009 05:18:36 -0700 X-Server-Uuid: D3C04415-6FA8-4F2C-93C1-920E106A2031 Received: from SJEXCHCCR02.corp.ad.broadcom.com ([10.16.192.130]) by SJEXCHHUB01.corp.ad.broadcom.com ([10.16.192.224]) with mapi; Mon, 21 Sep 2009 05:18:36 -0700 From: "Bingfeng Mei" To: ddmetro , "gcc@gcc.gnu.org" Date: Mon, 21 Sep 2009 12:18:00 -0000 Subject: RE: help on - how to specify architecture information to gcc Message-ID: <7FB04A5C213E9943A72EE127DB74F0AD93CCB63038@SJEXCHCCR02.corp.ad.broadcom.com> References: <25530300.post@talk.nabble.com> In-Reply-To: <25530300.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00400.txt.bz2 You should check how to construct DFA for your target architecture. Look at "Specifying processor pipeline description" in GCC internal manual and checked out how other architectures do it. -Bingfeng=20 > -----Original Message----- > From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On=20 > Behalf Of ddmetro > Sent: 21 September 2009 12:52 > To: gcc@gcc.gnu.org > Subject: help on - how to specify architecture information to gcc >=20 >=20 > Hi All, > Our project is to optimize instruction scheduling in gcc. It > requires us to specify architecture information > (basically number of cycles per instruction, stall and branch delays) > to gcc, to optimize structural hazard detection. >=20 > Problem: Is there any specific format in which we can specify this > information to gcc? Is it possible to embed this additional > architecture specific detail, in .md files? >=20 > Target language for which optimization is being done: C > Target machine architecture: i686 > GCC version: 4.4.1 >=20 > If none of the above options work, we were planning to put > the information manually in a file and make gcc read it each time it > loads. Any suggestions/comments on this approach? >=20 > Couldn't find a related thread. Hence a new one. >=20 > Thanking All, > - Dhiraj. > --=20 > View this message in context:=20 > http://www.nabble.com/help-on---how-to-specify-architecture-in > formation-to-gcc-tp25530300p25530300.html > Sent from the gcc - Dev mailing list archive at Nabble.com. >=20 >=20 >=20