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

Issue 6197003: ARM: Always use the overflow flag to check for NaNs participating in a floati... (Closed)

Created:
9 years, 11 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM: Always use the overflow flag to check for NaNs participating in a floating point compare. Looks as if we don't need to use the vcmpe instruction instead of the vcmp, as the overflow FPSCR bit suits our purpose. If we at some point need vcmpe lte's implement it as a separate instruction. Committed: http://code.google.com/p/v8/source/detail?r=6277

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -26 lines) Patch
M src/arm/assembler-arm.h View 1 chunk +9 lines, -4 lines 0 comments Download
M src/arm/assembler-arm.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 chunks +4 lines, -12 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Thygesen Gjesse
9 years, 11 months ago (2011-01-11 13:05:56 UTC) #1
Karl Klose
LGTM.
9 years, 11 months ago (2011-01-11 13:17:48 UTC) #2
Rodolph Perfetta
http://codereview.chromium.org/6197003/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6197003/diff/1/src/arm/macro-assembler-arm.cc#newcode552 src/arm/macro-assembler-arm.cc:552: vmrs(fpscr_flags); I know this is not part of the ...
9 years, 11 months ago (2011-01-11 23:42:26 UTC) #3
Søren Thygesen Gjesse
9 years, 11 months ago (2011-01-12 07:45:46 UTC) #4
http://codereview.chromium.org/6197003/diff/1/src/arm/macro-assembler-arm.cc
File src/arm/macro-assembler-arm.cc (right):

http://codereview.chromium.org/6197003/diff/1/src/arm/macro-assembler-arm.cc#...
src/arm/macro-assembler-arm.cc:552: vmrs(fpscr_flags);
On 2011/01/11 23:42:26, Rodolph Perfetta wrote:
> I know this is not part of the change, but the vmrs here should be
conditional.
> Otherwise LGTM.

Thanks for spotting this - it must have slipped from my previous commit.

http://codereview.chromium.org/6197003/diff/1/src/arm/macro-assembler-arm.cc#...
src/arm/macro-assembler-arm.cc:561: vmrs(fpscr_flags);
On 2011/01/11 23:42:26, Rodolph Perfetta wrote:
> Ditto.

Done.

Powered by Google App Engine
This is Rietveld 408576698