How to extend gcc compiler by adding pragmas

Hayder hayder.alkhalissi@googlemail.com
Wed Dec 19 15:09:00 GMT 2012


Thanks for your response.
>> 
>> I am working to implement programming model for distributed heterogeneous 
>> multicor system. 
>> Therefore, I need to write some #pragmas for my work. i.e, I need to
>> invoke 
>> some particular code when there are some particular pattern in code.
>> Could 
>> some one help me in this ...? 

>The usual way to approach this kind of thing in GCC is function 
>attributes, where they work. 
How? Can you light on this ..?

>Otherwise, look at how OpenMP is implemented.  Grep for openmp and 
>gomp (case-insensitive) in the sources. 

>Ian

Hayder
 



--
View this message in context: http://gcc.1065356.n5.nabble.com/How-to-extend-gcc-compiler-by-adding-pragmas-tp898827p898912.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list