Handle a library implementation of ffs calling __builtin_ffs.
authorHans-Peter Nilsson <hp@bitrange.com>
Tue, 18 Sep 2018 02:42:15 +0000 (02:42 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Tue, 18 Sep 2018 02:42:15 +0000 (02:42 +0000)
commite6bf23cce3ed63800f4545cd9a79e3500b24625c
tree9c85bb7202d16e81503188651bb329d62cd6ff69
parent18b0a76251a256f8b26af7ade7d9a0b346958af0
Handle a library implementation of ffs calling __builtin_ffs.

* config/mmix/mmix.c (TARGET_INIT_LIBFUNCS): Override with...
(mmix_init_libfuncs): New function: make __builtin_ffs expand
to __ffsdi2.

From-SVN: r264381
gcc/ChangeLog
gcc/config/mmix/mmix.c