[Issue 9920] [Optimizer] Use mul/imul for integer division by constant

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 11 11:33:56 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9920



--- Comment #3 from bearophile_hugs at eml.cc 2013-04-11 11:33:55 PDT ---
(In reply to comment #2)

> any division by constant can be optimized.

I didn't know this.


> I'd say this one supersedes 5607, so how about merge your example here and
> close 5607 ? (the 2 have to be merged anyway since the root cause is the same)

If you think this supersedes 5607, then copy what you think should be copied,
and close it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list