Re: [SH] PR 49468 - DImode abs

2012-03-01 Thread Kaz Kojima
Oleg Endo wrote: > 2012-03-01 Oleg Endo > > PR target/49486 > * config/sh/sh.md (negdi2): Add TARGET_SH1 condition. > (absdi2): New expander. > (*absdi2, *negabsdi2, negdi_cond): New insns and splits. > > > testsuite/ChangeLog: > > 2012-03-01 Oleg Endo > >

[SH] PR 49468 - DImode abs

2012-03-01 Thread Oleg Endo
Hello, The attached patch improves the support for DImode absolute value code on SH. This is basically the same patch as in the PR, but with added TARGET_SH1 conditions in the relevant expanders to avoid SH64 failures, as Kaz pointed out in the PR. Moreover, it adds a test case and fixes the exis