digitalmars.D.bugs - [Issue 10715] New: negated bit test (bt) not recognized by optimizer
- d-bugmail puremagic.com (27/27) Jul 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10715
- d-bugmail puremagic.com (6/6) Jul 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10715
- d-bugmail puremagic.com (11/11) Jul 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10715
- d-bugmail puremagic.com (10/10) Jul 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10715
- d-bugmail puremagic.com (9/9) Jul 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10715
http://d.puremagic.com/issues/show_bug.cgi?id=10715 Summary: negated bit test (bt) not recognized by optimizer Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: code dawg.eu bool bt(in uint[] ary, size_t bitnum) { return !!(ary[bitnum >> 5] & 1 << (bitnum & 31)); // uses bt } bool neg_bt(in uint[] ary, size_t bitnum) { return !(ary[bitnum >> 5] & 1 << (bitnum & 31)); // does not use bt } The bit test pattern recognition was added with https://github.com/D-Programming-Language/dmd/pull/1509. It does not work for negated bit tests though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 25 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10715 02:02:44 PDT --- https://github.com/D-Programming-Language/dmd/pull/2389 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 27 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10715 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/13c01c84c4814d2da03acca1f7c2074459da6fb4 fix Issue 10715 - negated bit test (bt) not recognized by optimizer https://github.com/D-Programming-Language/dmd/commit/6619191c9a7c79df69ffd03e5a43e657b3ba9fb0 fix Issue 10715 - negated bit test (bt) not recognized by optimizer -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 27 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10715 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 27 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10715 Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f2b173e4993c5552b914a59c40824d35fd1d02ff fix Issue 10715 - negated bit test (bt) not recognized by optimizer -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 27 2013