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

Issue 2061583002: [ia32] Propagate rmodes when computing MemoryOperands (Closed)

Created:
4 years, 6 months ago by Mircea Trofin
Modified:
4 years, 6 months ago
Reviewers:
bradnelson
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

RelocInfo modes were not propagated when computing MemoryOperands, on IA32. This needed to be fixed so that we can compile wasm code before creating instances, since the compiled code needs to be patched up for memory and globals references. This surfaces in asm-to-wasm scenarios. Added testing (rather, enhanced existing tests). Note patch#1 where we fail on ia32, and patch#2 with the fix. BUG=v8:5072 Committed: https://crrev.com/8c1ba59aeeddba6e4d1684b0666315601d8326f3 Cr-Commit-Position: refs/heads/master@{#36911}

Patch Set 1 : just the test #

Patch Set 2 : with fix #

Total comments: 2

Patch Set 3 : sep tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -8 lines) Patch
M src/compiler/ia32/code-generator-ia32.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-asmjs.cc View 1 2 2 chunks +85 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Mircea Trofin
4 years, 6 months ago (2016-06-12 05:48:42 UTC) #6
bradnelson
lgtm https://codereview.chromium.org/2061583002/diff/60001/test/cctest/wasm/test-run-wasm-asmjs.cc File test/cctest/wasm/test-run-wasm-asmjs.cc (right): https://codereview.chromium.org/2061583002/diff/60001/test/cctest/wasm/test-run-wasm-asmjs.cc#newcode141 test/cctest/wasm/test-run-wasm-asmjs.cc:141: IF_COMPILED( Worth making these separate from the oob ...
4 years, 6 months ago (2016-06-12 20:50:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061583002/80001
4 years, 6 months ago (2016-06-13 03:33:05 UTC) #10
Mircea Trofin
https://codereview.chromium.org/2061583002/diff/60001/test/cctest/wasm/test-run-wasm-asmjs.cc File test/cctest/wasm/test-run-wasm-asmjs.cc (right): https://codereview.chromium.org/2061583002/diff/60001/test/cctest/wasm/test-run-wasm-asmjs.cc#newcode141 test/cctest/wasm/test-run-wasm-asmjs.cc:141: IF_COMPILED( On 2016/06/12 20:50:14, bradnelson wrote: > Worth making ...
4 years, 6 months ago (2016-06-13 03:33:10 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 6 months ago (2016-06-13 04:21:07 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 04:21:26 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8c1ba59aeeddba6e4d1684b0666315601d8326f3
Cr-Commit-Position: refs/heads/master@{#36911}

Powered by Google App Engine
This is Rietveld 408576698