RFC: Simplify rules for ctz/clz patterns and RTL
Jan Hubicka
hubicka@ucw.cz
Wed Aug 15 19:37:00 GMT 2007
>
> Is popcount really slow on PowerPC? (Compared to clz?) Ideally one
> would choose between the two expansions based on RTL costs, but the only
> architectures it matters for are i386 and powerpc, and neither of them
> define the cost of either clz or popcount.
Of course adding a popcount/clz cost into i386 cost tables is easy and
probably most correct thing to do :)
Honza
>
> zw
More information about the Gcc
mailing list