Re: [libgfortran, patch] Remove runtime clz() and ctz() bit intrisic functions

2016-12-19 Thread Janne Blomqvist
On Mon, Dec 19, 2016 at 4:48 PM, FX wrote: > We implement the LEADZ and TRAILZ intrinsics in terms of the built-in clz() > and ctz() functions. Since these are not available for 128-bit integer types, > we used to have support functions _gfortran_clz128() and _gfortran_ctz128() > in libgfortran

[libgfortran, patch] Remove runtime clz() and ctz() bit intrisic functions

2016-12-19 Thread FX
We implement the LEADZ and TRAILZ intrinsics in terms of the built-in clz() and ctz() functions. Since these are not available for 128-bit integer types, we used to have support functions _gfortran_clz128() and _gfortran_ctz128() in libgfortran. In 2010, I applied a patch to avoid this and emit