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

Issue 2078013: ARM: Fix generating two ldr instructions in place of ldrd.... (Closed)

Created:
10 years, 7 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry, zhangk
CC:
v8-dev
Visibility:
Public.

Description

ARM: Fix generating two ldr instructions in place of ldrd. When ldrd is not available two ldr instructions are generated. This fixes these in the case where the register used in the memory operand is the same as the first register in the register pair receiving the values. All tests now run on ARM with the flag --special-command="@ --noenable-vfp3". Running without VFP3 support in the simulator causes more ldrd instructions to be used, and the default build configuration does not utilize ldrd, but generated tow ldr instructions. Committed: http://code.google.com/p/v8/source/detail?r=4667

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M src/arm/assembler-arm.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M src/arm/assembler-arm.cc View 1 2 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Thygesen Gjesse
10 years, 7 months ago (2010-05-17 17:34:15 UTC) #1
Erik Corry
LGTM, thanks for fixing this!
10 years, 7 months ago (2010-05-17 18:45:15 UTC) #2
zhangk
http://codereview.chromium.org/2078013/diff/1/2 File src/arm/assembler-arm.cc (right): http://codereview.chromium.org/2078013/diff/1/2#newcode1366 src/arm/assembler-arm.cc:1366: dst1.code_ = dst1.code_ + 1; I think it's better ...
10 years, 7 months ago (2010-05-17 18:50:54 UTC) #3
Søren Thygesen Gjesse
http://codereview.chromium.org/2078013/diff/1/2 File src/arm/assembler-arm.cc (right): http://codereview.chromium.org/2078013/diff/1/2#newcode1366 src/arm/assembler-arm.cc:1366: dst1.code_ = dst1.code_ + 1; On 2010/05/17 18:50:54, zhangk ...
10 years, 7 months ago (2010-05-18 06:36:17 UTC) #4
zhangk
10 years, 7 months ago (2010-05-18 17:16:43 UTC) #5
It looks good to me.

Powered by Google App Engine
This is Rietveld 408576698