Linus Torvalds writes: (Summary) On Mon, Jan 22, 2018 at 5:26 AM, Rasmus Villemoes
<rasmus.villemoes@prevas.dk> I have definitely seen gcc generate the difference with a divide. I have definitely seen gcc generate the difference with a divide. But it may be less of a "can't do it with a multiply" and more of a "not all versions of gcc have the multiplication optimization". "not all versions of gcc have the multiplication optimization". Linus
Linus
Linus
<rasmus.villemoes@prevas.dk> I have definitely seen gcc generate the difference with a divide. I have definitely seen gcc generate the difference with a divide. But it may be less of a "can't do it with a multiply" and more of a "not all versions of gcc have the multiplication optimization". "not all versions of gcc have the multiplication optimization". Linus
Linus
Linus