This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: reg+reg addressing mode on SPARC
- To: dann at godzilla dot ics dot uci dot edu (Dan Nicolaescu)
- Subject: Re: reg+reg addressing mode on SPARC
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Fri, 10 Aug 2001 18:07:18 -0700 (PDT)
- Cc: jbuck at synopsys dot com (Joe Buck), gcc at gcc dot gnu dot org
Dan Nicolaescu writes:
> Here is the result that I get for the code from the 2340 bug report
> using a version of gcc patched to have ADDRESS_COST 2 for the reg+reg
> addressing modes and 1 for all the other cases:
>
> ./a.out
> test absolute additions ratio with
> number time per second test0
>
> 0 0.31sec 161.29M 1.00
> 1 0.31sec 161.29M 1.00
[ all others are one as well ]
Cool.
Hmm. Seems the next step is to try your patch on other benchmarks, such
as Spec-[year of your choice]. If it looks good, then, well, since I
don't know that much about the backend, I hope that those who do will
seriously look at making this change.