[PATCH PR90240][RFC]Avoid scaling cost overflow by introducing scaling bound

bin.cheng bin.cheng@linux.alibaba.com
Sat Apr 27 05:24:00 GMT 2019


Hi,

This is the draft patch avoiding scaling cost overflow by introducing a scaling bound
in IVOPTs.  For now the bound is 20, and scaling factor will be further scaled wrto
this bound.  For example, scaling factor like 1, 1000, 2000(max) would be scaled to
1, 10, 20 correspondingly.

HI Martin, I remember you introduced comp_cost/cost_scaling to improve one case
in spec2017.  Unfortunately I don't have access to the benchmark now, could you help
verify that if this patch has performance issue on it please?  Thanks

Bootstrap and test on x86_64, and this is for further comment/discussion.

Thanks,
bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pr90240.patch
Type: application/octet-stream
Size: 6162 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190427/2981038d/attachment.obj>


More information about the Gcc-patches mailing list