Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1088)

Issue 538213003: Speed up freelist by using intrinsics to find last set bit. (Closed)

Created:
6 years, 3 months ago by koda
Modified:
6 years, 3 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Speed up freelist by using intrinsics to find last set bit. Also add unit test for BitSet. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=40057

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -10 lines) Patch
M runtime/platform/utils.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/platform/utils_android.h View 2 chunks +12 lines, -1 line 0 comments Download
M runtime/platform/utils_linux.h View 2 chunks +12 lines, -1 line 0 comments Download
M runtime/platform/utils_macos.h View 2 chunks +12 lines, -1 line 0 comments Download
M runtime/platform/utils_win.h View 2 chunks +14 lines, -1 line 0 comments Download
M runtime/vm/bit_set.h View 1 2 1 chunk +22 lines, -2 lines 0 comments Download
A runtime/vm/bit_set_test.cc View 1 chunk +51 lines, -0 lines 0 comments Download
M runtime/vm/freelist.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
koda
6 years, 3 months ago (2014-09-05 05:17:55 UTC) #1
Ivan Posva
https://codereview.chromium.org/538213003/diff/20001/runtime/vm/bit_set.h File runtime/vm/bit_set.h (right): https://codereview.chromium.org/538213003/diff/20001/runtime/vm/bit_set.h#newcode78 runtime/vm/bit_set.h:78: } while (--w >= 0); I find this loop ...
6 years, 3 months ago (2014-09-08 06:58:08 UTC) #2
koda
https://codereview.chromium.org/538213003/diff/20001/runtime/vm/bit_set.h File runtime/vm/bit_set.h (right): https://codereview.chromium.org/538213003/diff/20001/runtime/vm/bit_set.h#newcode78 runtime/vm/bit_set.h:78: } while (--w >= 0); On 2014/09/08 06:58:08, Ivan ...
6 years, 3 months ago (2014-09-09 20:51:41 UTC) #3
Ivan Posva
LGTM. I think the additional comments help too. -Ivan
6 years, 3 months ago (2014-09-09 21:07:31 UTC) #4
koda
6 years, 3 months ago (2014-09-09 21:17:15 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as r40057 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698