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: [ABSU_EXPR] Add some of the missing patterns in match,pd


On 06/27/2018 06:25 PM, Kugan Vivekanandarajah wrote:
> Hi,
> 
> This patch adds some of the missing patterns in match.pd for ABSU_EXPR.
> 
> Bootstrap and regression testing on x86_64-linux-gnu. Is this OK if no
> regressions.
> 
> Thanks,
> Kugan
> 
> gcc/ChangeLog:
> 
> 2018-06-28  Kugan Vivekanandarajah  <kuganv@linaro.org>
> 
>     * match.pd (absu(x)*absu(x) -> x*x): Handle.
>         (absu(absu(X)) -> absu(X)): Likewise.
>         (absu(-X) -> absu(X)): Likewise.
>         (absu(X)  where X is nonnegative -> X): Likewise.
> 
OK once testing is complete.

Thanks,
jeff


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