Re: [RFA/ARM] Make libgcc use UDIV/SDIV instructions when they are available.

2011-11-16 Thread Richard Earnshaw
On 15/11/11 16:17, Matthew Gretton-Dann wrote: > All, > > The attached patch causes libgcc to use the UDIV and SDIV instructions > when possible in the implementation of the ARM div/mod functions in libgcc. > > This will benefit Cortex-M3, Cortex-M4, all Cortex-R* CPUs, Cortex-A7, > and Cortex-

[RFA/ARM] Make libgcc use UDIV/SDIV instructions when they are available.

2011-11-15 Thread Matthew Gretton-Dann
All, The attached patch causes libgcc to use the UDIV and SDIV instructions when possible in the implementation of the ARM div/mod functions in libgcc. This will benefit Cortex-M3, Cortex-M4, all Cortex-R* CPUs, Cortex-A7, and Cortex-A15. The special case of some Cortex-R* CPUs where the UD