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


Richard,

I'll renumber then consecutively and fix the typo and change log entry before I commit

Thanks
Graham




----- Original Message -----
From: Richard Sandiford <rdsandiford@googlemail.com>
To: Graham Stott <graham.stott@btinternet.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Sent: Tuesday, 9 July 2013, 18:31
Subject: 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]