This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc instruction cost
- From: htio2 <wenbin dot leong at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 14 Oct 2015 09:47:57 -0700 (MST)
- Subject: Re: gcc instruction cost
- Authentication-results: sourceware.org; auth=none
- References: <1444795882532-1194316 dot post at n5 dot nabble dot com> <561E7176 dot 3020404 at redhat dot com>
I am porting gcc backend to a new target, I understood that there is a
target_rtx_costs macro and i am currently looking into it, for my target it
will be mainly on the code size.
I have some experience porting sdcc ( small device C compiler ) the way they
do it is ,they will try different of register allocation and compare the
cost with each other and it took a long time to compile, just want to know
if gcc do it any differently.
--
View this message in context: http://gcc.1065356.n5.nabble.com/gcc-instruction-cost-tp1194316p1194519.html
Sent from the gcc - Help mailing list archive at Nabble.com.