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

Issue 12217014: ARM: Try to avoid VMSR instruction and drop redundant VCVT (Closed)

Created:
7 years, 10 months ago by hans
Modified:
7 years, 10 months ago
Reviewers:
ulan, Rodolph Perfetta
CC:
v8-dev
Visibility:
Public.

Description

ARM: Try to avoid VMSR instruction and drop redundant VCVT We were doing a redundant VCVT operation in MacroAssembler::EmitECMATruncate. Also, setting the FPSCR exception flags is expensive on some CPUs, wo we should try to avoid it if we can. Thanks to Rodolph Perfetta for the input on this! Committed: https://code.google.com/p/v8/source/detail?r=13601

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Rodolph's comments #

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

Messages

Total messages: 6 (0 generated)
hans
Rodolph, Ulan: please take a look.
7 years, 10 months ago (2013-02-05 15:48:28 UTC) #1
Rodolph Perfetta
https://codereview.chromium.org/12217014/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/12217014/diff/1/src/arm/macro-assembler-arm.cc#newcode2691 src/arm/macro-assembler-arm.cc:2691: vcmp(double_input, double_scratch); VFPCompareAndSetFlags would be better. https://codereview.chromium.org/12217014/diff/1/src/arm/macro-assembler-arm.cc#newcode2709 src/arm/macro-assembler-arm.cc:2709: vmov(result, ...
7 years, 10 months ago (2013-02-05 16:14:12 UTC) #2
hans
https://codereview.chromium.org/12217014/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/12217014/diff/1/src/arm/macro-assembler-arm.cc#newcode2691 src/arm/macro-assembler-arm.cc:2691: vcmp(double_input, double_scratch); On 2013/02/05 16:14:12, Rodolph Perfetta wrote: > ...
7 years, 10 months ago (2013-02-05 16:24:47 UTC) #3
Rodolph Perfetta
lgtm
7 years, 10 months ago (2013-02-05 16:39:29 UTC) #4
ulan
LGTM
7 years, 10 months ago (2013-02-05 17:31:51 UTC) #5
ulan
7 years, 10 months ago (2013-02-06 10:35:15 UTC) #6
Message was sent while issue was closed.
Committed manually as r13601 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698