* gcc front end help
@ 2004-10-27 13:05 HAN,GUOLING
2004-10-27 23:58 ` Mike Stump
0 siblings, 1 reply; 2+ messages in thread
From: HAN,GUOLING @ 2004-10-27 13:05 UTC (permalink / raw)
To: gcc
Hi,
We are going to use gcc as our SystemC synthesizer front end.
It will parse the SystemC (actually a C++) program, construct the
net-list, and build the RTL for each function.
For synthesis purpose, some features in C++ will be interpreted
differently in our system. We don't want the some methods to be
inlined; we don't need the virtual function calls to be expanded into a
series of address calculation.
Could anyone tell me how to forbid function inline in GCC? I tried the
compiler options and changed some code in cp directory. It dose not work.
Could you also help us evaluate the feasibilty of using GCC as our
frontend?
Thanks.
Leo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc front end help
2004-10-27 13:05 gcc front end help HAN,GUOLING
@ 2004-10-27 23:58 ` Mike Stump
0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2004-10-27 23:58 UTC (permalink / raw)
To: HANGUOLING; +Cc: gcc
On Oct 27, 2004, at 12:04 AM, HAN,GUOLING wrote:
> Could anyone tell me how to forbid function inline in GCC?
-fno-inline would be the first that comes to mind.
> I tried the compiler options and changed some code in cp directory. It
> dose not work.
Would be nice if you said what options, and an example of the code.
> Could you also help us evaluate the feasibilty of using GCC as our
> frontend?
Sounds interesting.
I suspect this question is best answered in a hardware list, not this
list. Also depends upon just what you want gcc to do for you. The
more you want it to do (optimizations for example), the less well it
will do it. Would be interesting to enhance the edge cases in the
optimizer and add custom optimization passes to deal well in that
domain...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-27 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27 13:05 gcc front end help HAN,GUOLING
2004-10-27 23:58 ` Mike Stump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).