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

Issue 1913663002: vm: Generate 'and' instruction for Smi values. (Closed)

Created:
4 years, 8 months ago by sra1
Modified:
4 years, 5 months ago
Reviewers:
regis, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

vm: Generate 'and' instruction for Smi values. This pattern ensures the generation of 'and' instructions on the Smi x Smi path of a polymorphic & operation. There are two 'and' operations on most simple _InternalLinkedHashMap and _CompactLinkedHashSet operations. One of the inputs, the hashCode, is occasionally a _Bigint. This change ensures that the usual case path has an 'and' instruction instead of a call to _IntegerImplementation.& R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/38fdb4bd4aa6b1cb2176640cbfe30e2757f45760

Patch Set 1 : #

Total comments: 1

Patch Set 2 : xxx #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -0 lines) Patch
M runtime/lib/bigint.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/integers.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M runtime/lib/integers.dart View 1 3 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/jit_optimizer.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/method_recognizer.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
sra1
4 years, 7 months ago (2016-04-29 01:20:42 UTC) #5
regis
LGTM
4 years, 7 months ago (2016-04-29 16:37:14 UTC) #6
srdjan
DBC https://chromiumcodereview.appspot.com/1913663002/diff/20001/runtime/lib/integers.cc File runtime/lib/integers.cc (right): https://chromiumcodereview.appspot.com/1913663002/diff/20001/runtime/lib/integers.cc#newcode298 runtime/lib/integers.cc:298: left.ToCString(), right.ToCString()); Please use THR_Print instead
4 years, 7 months ago (2016-04-29 17:35:31 UTC) #8
sra1
4 years, 5 months ago (2016-07-04 23:28:11 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
38fdb4bd4aa6b1cb2176640cbfe30e2757f45760 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698