This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: help on - how to specify architecture information to gcc


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 

> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On 
> Behalf Of ddmetro
> Sent: 21 September 2009 12:52
> To: gcc@gcc.gnu.org
> Subject: help on - how to specify architecture information to gcc
> 
> 
> 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.
> 
> 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?
> 
> Target language for which optimization is being done: C
> Target machine architecture: i686
> GCC version: 4.4.1
> 
>          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?
> 
>          Couldn't find a related thread. Hence a new one.
> 
> Thanking All,
> - Dhiraj.
> -- 
> View this message in context: 
> 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.
> 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]