How to turn off constan multiplication optmization

Feng Xue fxue@os.amperecomputing.com
Thu Nov 29 03:33:00 GMT 2018


Hi,

   We just want to evaluate effect of constant multiplication optimization, which translates mul to shift/lea. Is there a switch option to explicitly turn on/off this opt in gcc? Thanks,

Best Regards,
Feng



More information about the Gcc-help mailing list