------- Comment #4 from vda dot linux at googlemail dot com 2006-07-30 13:35 ------- Created an attachment (id=11971) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11971&action=view) Use alternative algorithm if it gives better results
New algorithm lives in separate function gcc_fastdiv_params() which is called from choose_multiplier(). Then we run old algorithm. Then we compare results and if new algorithm gives different one (new result is always better or same than old), we use it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28417