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

Issue 8086021: Clean up the x86 assembler API. (Closed)

Created:
9 years, 2 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 2 months ago
Reviewers:
fschneider, Yang
CC:
v8-dev
Visibility:
Public.

Description

Clean up the x86 assembler API. The API is inconsistent about when a register must be coerced to an operand and when it can be used as a register. Simplify usage by never requiring it to be wrapped. R=fschneider@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9507

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+687 lines, -644 lines) Patch
M src/ia32/assembler-ia32.h View 14 chunks +55 lines, -15 lines 2 comments Download
M src/ia32/assembler-ia32.cc View 4 chunks +16 lines, -16 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 33 chunks +48 lines, -48 lines 0 comments Download
M src/ia32/code-stubs-ia32.h View 3 chunks +4 lines, -4 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 155 chunks +252 lines, -256 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 6 chunks +19 lines, -19 lines 0 comments Download
M src/ia32/debug-ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 5 chunks +13 lines, -13 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 32 chunks +57 lines, -57 lines 0 comments Download
M src/ia32/ic-ia32.cc View 8 chunks +11 lines, -11 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 2 chunks +10 lines, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 52 chunks +76 lines, -78 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 30 chunks +50 lines, -50 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 31 chunks +38 lines, -38 lines 0 comments Download
M test/cctest/test-assembler-ia32.cc View 5 chunks +13 lines, -13 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 9 chunks +23 lines, -23 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
It turns out that having the assembler API based on the x86 instruction encoding is ...
9 years, 2 months ago (2011-09-30 13:28:48 UTC) #1
Yang
Drive by. http://codereview.chromium.org/8086021/diff/1/src/ia32/assembler-ia32.h File src/ia32/assembler-ia32.h (right): http://codereview.chromium.org/8086021/diff/1/src/ia32/assembler-ia32.h#newcode350 src/ia32/assembler-ia32.h:350: bool is_reg_only() const; Is this still necessary ...
9 years, 2 months ago (2011-09-30 13:42:19 UTC) #2
Kevin Millikin (Chromium)
Good idea. http://codereview.chromium.org/8086021/diff/1/src/ia32/assembler-ia32.h File src/ia32/assembler-ia32.h (right): http://codereview.chromium.org/8086021/diff/1/src/ia32/assembler-ia32.h#newcode350 src/ia32/assembler-ia32.h:350: bool is_reg_only() const; On 2011/09/30 13:42:20, Yang ...
9 years, 2 months ago (2011-09-30 14:23:54 UTC) #3
fschneider
9 years, 2 months ago (2011-10-03 11:19:26 UTC) #4
LGTM.

Powered by Google App Engine
This is Rietveld 408576698