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

Issue 2017002: Turn {mov,add}q into {mov,add}l. (Closed)

Created:
10 years, 7 months ago by antonm
Modified:
9 years, 4 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Turn {mov,add}q into {mov,add}l. All the cases fixed are safe as registers hold 32-bit value, but that looks safer to operate on proper sizes. Committed: http://code.google.com/p/v8/source/detail?r=4610

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M src/x64/codegen-x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
antonm
Lasse, may you have a look? I am not quite versed in x64 ways and ...
10 years, 7 months ago (2010-05-06 17:37:11 UTC) #1
Lasse Reichstein
10 years, 7 months ago (2010-05-07 06:56:42 UTC) #2
LGTM, and if anything it could make things faster (the instructions are one byte
shorter).
It's pure luck that it has worked so far. There is an unused 32-bit hole after
the length field of Arrays on X64, and we were overwriting it unnecessarily. If
the hole had been used for anything, like it used to be on strings, it would
have been a problem.

Powered by Google App Engine
This is Rietveld 408576698