[RFC] [2/2] divmod transform: override expand_divmod_libfunc for ARM and add test-cases

Prathamesh Kulkarni prathamesh.kulkarni@linaro.org
Tue Jun 7 08:26:00 GMT 2016

ping https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02008.html


On 25 May 2016 at 18:19, Prathamesh Kulkarni
<prathamesh.kulkarni@linaro.org> wrote:
> On 23 May 2016 at 14:28, Prathamesh Kulkarni
> <prathamesh.kulkarni@linaro.org> wrote:
>> Hi,
>> This patch overrides expand_divmod_libfunc for ARM port and adds test-cases.
>> I separated the SImode tests into separate file from DImode tests
>> because certain arm configs (cortex-15) have hardware div insn for
>> SImode but not for DImode,
>> and for that config we want SImode tests to be disabled but not DImode tests.
>> The patch therefore has two target-effective checks: divmod and divmod_simode.
>> Cross-tested on arm*-*-*.
>> Bootstrap+test on arm-linux-gnueabihf in progress.
>> Does this patch look OK ?
> Hi,
> This version adds couple of more test-cases and fixes typo in
> divmod-3-simode.c, divmod-4-simode.c
> Thanks,
> Prathamesh
>> Thanks,
>> Prathamesh

More information about the Gcc-patches mailing list