This is the mail archive of the gcc-patches@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: MIPS don't gererate MUL when muliplying by constant of for 2^N +/- 1 optimizing for size


Graham Stott <graham.stott@btinternet.com> writes:
> ÂÂÂ gcc/ChangeLog
>
> ÂÂÂ * config/mips/mips.c (): Very slightly increase code of MUL.whren
> optimizing for size.

	* config/mips/mips.c (mips_rtx_costs): Very slightly increase
	the cost of MULT when optimizing for size.

> ÂÂ gcc/testsuite/ChangeLog
> ÂÂÂ * gcc.target/mips/mulsize-7.c: New.
> Â Â * gcc.target/mips/mulsize-9.c New.
> ÂÂÂ * gcc/target/mips/mulsize-15.c: New. 
> ÂÂÂ * gcc.target/mips/mulsize-17.c: New.

Let's number these consecutively (1-4).  Typo "gcc/target/mips" ->
"gcc.target/mips".

OK with those changes, thanks.

Richard


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