Re: [arm] Improve longlong.h umul_ppmm, count_trailing_zeros

2012-03-20 Thread Richard Earnshaw
On 01/02/12 13:23, Richard Earnshaw wrote: On 31/01/12 05:15, Richard Henderson wrote: Despite how trivial this is, I assume this must wait for stage1. Ok? r~ * longlong.h [arm] (umul_ppmm): Use umull. [arm] (count_trailing_zeros): Use __builtin_ctz. armv3m also has the

Re: [arm] Improve longlong.h umul_ppmm, count_trailing_zeros

2012-02-01 Thread Richard Earnshaw
On 31/01/12 05:15, Richard Henderson wrote: I noticed this accidentally, while looking for something else. There are significant improvements in the DImode multiplication and division routines for armv4+. Despite how trivial this is, I assume this must wait for stage1. Ok? r~

[arm] Improve longlong.h umul_ppmm, count_trailing_zeros

2012-01-30 Thread Richard Henderson
I noticed this accidentally, while looking for something else. There are significant improvements in the DImode multiplication and division routines for armv4+. Despite how trivial this is, I assume this must wait for stage1. Ok? r~ * longlong.h [arm] (umul_ppmm): Use umull.