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

Issue 1386133002: [Interpreter] Add bitwise operators (Or, Xor, And) to interpreter (Closed)

Created:
5 years, 2 months ago by mythria
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Adds support for following operators -Bitwise Or -Bitwise Xor -Bitwise And Adds the above bytecodes, support to BytecodeGenerator and BytecodeArrayBuilder to enable it's use, it's implementation and tests. BUG=v8:4280 LOG=N Committed: https://crrev.com/9feb5305949de66ea727a5eb67cc0fd3eedef56f Cr-Commit-Position: refs/heads/master@{#31210}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixed tests for byte code generation for bitwise operators and added tests for sub, mul, div, mod. #

Patch Set 3 : Fixed initialization of ExpectedSnippet in test-bytecode-generator #

Patch Set 4 : rebased the patch #

Patch Set 5 : rebased the patch #

Patch Set 6 : rebased the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -8 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 4 5 1 chunk +98 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 3 4 5 5 chunks +19 lines, -8 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
mythria
Hi, Could you please review my changes. Thanks and Regards, Mythri
5 years, 2 months ago (2015-10-06 10:58:24 UTC) #2
rmcilroy
https://codereview.chromium.org/1386133002/diff/1/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1386133002/diff/1/src/interpreter/bytecodes.h#newcode64 src/interpreter/bytecodes.h:64: V(BitwiseAnd, OperandType::kReg8) \ nit - move these to the ...
5 years, 2 months ago (2015-10-06 11:09:29 UTC) #3
rmcilroy
Also please update the description to include "[Interpreter]" in the title, and to link to ...
5 years, 2 months ago (2015-10-06 11:57:13 UTC) #4
mythria
Hi, I addressed comments from Ross. Could you review my changes. Thanks and Regards, Mythri ...
5 years, 2 months ago (2015-10-06 13:47:40 UTC) #5
rmcilroy
Thanks! One fix in description (BYteCodeArrayBuilder -> BytecodeArrayBuilder), but otherwise lgtm.
5 years, 2 months ago (2015-10-06 13:52:03 UTC) #6
oth
lgtm
5 years, 2 months ago (2015-10-08 09:14:57 UTC) #7
oth
lgtm
5 years, 2 months ago (2015-10-08 09:14:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1386133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1386133002/60001
5 years, 2 months ago (2015-10-08 09:26:42 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/8712) v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, ...
5 years, 2 months ago (2015-10-08 09:27:27 UTC) #13
rmcilroy
You will also need to get someone to stamp with ownership of src/compiler (mstarzinger@ would ...
5 years, 2 months ago (2015-10-08 10:02:06 UTC) #14
mythria
I added support for bitwise operators to interpreter. Could you please review the changes especially ...
5 years, 2 months ago (2015-10-08 14:23:52 UTC) #16
Michael Starzinger
LGTM.
5 years, 2 months ago (2015-10-12 09:24:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1386133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1386133002/80001
5 years, 2 months ago (2015-10-12 10:23:17 UTC) #20
commit-bot: I haz the power
Failed to apply patch for src/interpreter/bytecode-array-builder.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 2 months ago (2015-10-12 10:46:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1386133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1386133002/100001
5 years, 2 months ago (2015-10-12 13:34:47 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 2 months ago (2015-10-12 13:36:04 UTC) #26
commit-bot: I haz the power
5 years, 2 months ago (2015-10-12 13:36:14 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9feb5305949de66ea727a5eb67cc0fd3eedef56f
Cr-Commit-Position: refs/heads/master@{#31210}

Powered by Google App Engine
This is Rietveld 408576698