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

Issue 11929021: Optimize double.floor and double.ceil down to roundsd when SSE4.1 is available. (Closed)

Created:
7 years, 11 months ago by Vyacheslav Egorov (Google)
Modified:
7 years, 11 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Optimize double.floor and double.ceil down to roundsd when SSE4.1 is available. R=fschneider@google.com BUG=dart:7971 Committed: https://code.google.com/p/dart/source/detail?r=17278

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -11 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +17 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 chunk +17 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vyacheslav Egorov (Google)
7 years, 11 months ago (2013-01-18 13:56:40 UTC) #1
Florian Schneider
7 years, 11 months ago (2013-01-18 14:15:02 UTC) #2
LGTM.

Please add the corresponding test cases that we already have for round() also
for floor and ceil (from tests/language/arithmetic_test.dart)

Powered by Google App Engine
This is Rietveld 408576698