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

Issue 98363010: ARM: Implement sqrt in inline assembly. (Closed)

Created:
6 years, 11 months ago by c.truta
Modified:
6 years, 11 months ago
CC:
v8-dev, cosmin.truta, lzolotarev_blackberry.com, Liam Quinn
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

ARM: Implement sqrt in inline assembly. Call VSQRT directly to avoid the tiniest (1ulp) precision error that occurs in the system-supplied sqrt on QNX/ARM. All precision tests in SunSpider are now passing on this platform. BUG= R=bmeurer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18506

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address reviewer's comment. #

Patch Set 3 : Address the 2nd round of review comments. #

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

Messages

Total messages: 10 (0 generated)
c.truta
Although this is for QNX/ARM, I didn't implement it conditionally on V8_OS_QNX. I think other ...
6 years, 11 months ago (2014-01-06 16:28:54 UTC) #1
Benedikt Meurer
LGTM if you address the comment. https://codereview.chromium.org/98363010/diff/1/src/arm/codegen-arm.cc File src/arm/codegen-arm.cc (right): https://codereview.chromium.org/98363010/diff/1/src/arm/codegen-arm.cc#newcode354 src/arm/codegen-arm.cc:354: if (!CpuFeatures::IsSupported(VFP3)) return ...
6 years, 11 months ago (2014-01-07 08:12:33 UTC) #2
c.truta
On 2014/01/07 08:12:33, Benedikt Meurer wrote: > https://codereview.chromium.org/98363010/diff/1/src/arm/codegen-arm.cc#newcode354 > src/arm/codegen-arm.cc:354: if (!CpuFeatures::IsSupported(VFP3)) return > &std::sqrt; ...
6 years, 11 months ago (2014-01-07 08:21:35 UTC) #3
Sven Panne
Please encapsulate the ABI as proposed. Note that we should probably tweak the macro assembler ...
6 years, 11 months ago (2014-01-07 08:27:56 UTC) #4
c.truta
On 2014/01/07 08:27:56, Sven Panne wrote: > Please encapsulate the ABI as proposed. Note that ...
6 years, 11 months ago (2014-01-07 16:50:23 UTC) #5
Sven Panne
On 2014/01/07 16:50:23, cosmin.truta wrote: > What would be, in your opinion, the better masm ...
6 years, 11 months ago (2014-01-08 07:14:07 UTC) #6
Rodolph Perfetta
On 2014/01/08 07:14:07, Sven Panne wrote: > On 2014/01/07 16:50:23, cosmin.truta wrote: > > What ...
6 years, 11 months ago (2014-01-08 22:31:34 UTC) #7
Benedikt Meurer
On 2014/01/08 22:31:34, Rodolph Perfetta wrote: > On 2014/01/08 07:14:07, Sven Panne wrote: > > ...
6 years, 11 months ago (2014-01-09 06:36:36 UTC) #8
Benedikt Meurer
Committed patchset #3 manually as r18506 (presubmit successful).
6 years, 11 months ago (2014-01-09 07:48:05 UTC) #9
Sven Panne
6 years, 11 months ago (2014-01-09 08:01:21 UTC) #10
Message was sent while issue was closed.
On 2014/01/08 22:31:34, Rodolph Perfetta wrote:
> The macro would aim to abstract the two variant (softfp and hard) of the
> procedure call standard for the ARM eabi, so how about something on the line
of
> Mov{From,To}FloatParameter and Mov{From, To}FloatResult. I can write a patch
if
> that sounds good to you.

Sounds good, and the names are definitely better than the ones proposed by me.
:-)

Powered by Google App Engine
This is Rietveld 408576698