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

Issue 1904153003: DBC: Adds simdbc64 target, adds arm64 arithmetic overflow logic (Closed)

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

Description

DBC: Adds simdbc64 target, adds arm64 arithmetic overflow logic There were differences between linux gcc, android gcc, MacOS clang, and 32 vs. 64-bit w.r.t the __builtin functions for detecting arithmetic overflow. I couldn't get them all working at the same time. Instead, I removed them, and changed to always use the inline assembly. This works in all the configurations above. This change also adds a simdbc64 target for building simdbc for 64-bit, and sets up the android targets. simdbc targets arm, and simdbc64 targets arm64. You can build them with: $ ./tools/build.py -m release -a simdbc{64} --os=android runtime R=iposva@google.com Committed: https://github.com/dart-lang/sdk/commit/3d7202bad38c09b956a3f76bf87f736bd53ebb35

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Patch Set 5 : Address comments #

Patch Set 6 : Fix stack overflow area size #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -69 lines) Patch
M runtime/observatory/tests/service/service.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/tests/vm/vm.status View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/simulator_dbc.h View 1 2 3 4 5 1 chunk +1 line, -1 line 1 comment Download
M runtime/vm/simulator_dbc.cc View 1 2 3 4 9 chunks +44 lines, -48 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/corelib/corelib.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/lib/lib.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/standalone.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/boringssl/boringssl_configurations.gypi View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tools/android_link.py View 1 2 5 chunks +7 lines, -6 lines 0 comments Download
M tools/build.py View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M tools/gyp/configurations.gypi View 1 2 3 chunks +68 lines, -0 lines 0 comments Download
M tools/gyp/configurations_make.gypi View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M tools/gyp/configurations_msvs.gypi View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/gyp/configurations_xcode.gypi View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/testing/dart/runtime_configuration.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tools/utils.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
zra
4 years, 8 months ago (2016-04-21 22:20:42 UTC) #5
zra
4 years, 8 months ago (2016-04-21 22:20:42 UTC) #6
Ivan Posva
-Ivan https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (right): https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc#newcode349 runtime/vm/simulator_dbc.cc:349: "add %2, %1\n" Shouldn't this be at least ...
4 years, 8 months ago (2016-04-21 23:35:15 UTC) #7
Vyacheslav Egorov (Google)
https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (left): https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc#oldcode341 runtime/vm/simulator_dbc.cc:341: #if defined(__has_builtin) Where did this go? Inline assembly is ...
4 years, 8 months ago (2016-04-22 06:22:04 UTC) #8
zra
https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (left): https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc#oldcode341 runtime/vm/simulator_dbc.cc:341: #if defined(__has_builtin) On 2016/04/22 06:22:04, Vyacheslav Egorov (Google) wrote: ...
4 years, 8 months ago (2016-04-22 19:40:50 UTC) #9
zra
ptal https://codereview.chromium.org/1904153003/diff/100001/runtime/vm/simulator_dbc.h File runtime/vm/simulator_dbc.h (right): https://codereview.chromium.org/1904153003/diff/100001/runtime/vm/simulator_dbc.h#newcode40 runtime/vm/simulator_dbc.h:40: static const uword kSimulatorStackUnderflowSize = 0x80; I had ...
4 years, 8 months ago (2016-04-22 21:13:27 UTC) #10
Vyacheslav Egorov (Google)
https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (left): https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc#oldcode341 runtime/vm/simulator_dbc.cc:341: #if defined(__has_builtin) On 2016/04/22 19:40:49, zra wrote: > On ...
4 years, 8 months ago (2016-04-23 18:58:35 UTC) #11
zra
https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (left): https://codereview.chromium.org/1904153003/diff/40001/runtime/vm/simulator_dbc.cc#oldcode341 runtime/vm/simulator_dbc.cc:341: #if defined(__has_builtin) On 2016/04/23 18:58:35, Vyacheslav Egorov (Google) wrote: ...
4 years, 8 months ago (2016-04-25 15:42:56 UTC) #12
Ivan Posva
LGTM -ip
4 years, 8 months ago (2016-04-25 19:39:57 UTC) #13
zra
4 years, 8 months ago (2016-04-25 19:48:38 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
3d7202bad38c09b956a3f76bf87f736bd53ebb35.

Powered by Google App Engine
This is Rietveld 408576698