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

Side by Side Diff: src/compiler/js-builtin-reducer.h

Issue 677433002: Add floor, ceil, round (truncate) instructions for ia32, x64 (if SSE4.1) and (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address changes and fix compilation on mac. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_ 5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_
6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_ 6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_
7 7
8 #include "src/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 17 matching lines...) Expand all
28 Graph* graph() const { return jsgraph_->graph(); } 28 Graph* graph() const { return jsgraph_->graph(); }
29 CommonOperatorBuilder* common() const { return jsgraph_->common(); } 29 CommonOperatorBuilder* common() const { return jsgraph_->common(); }
30 MachineOperatorBuilder* machine() const { return jsgraph_->machine(); } 30 MachineOperatorBuilder* machine() const { return jsgraph_->machine(); }
31 SimplifiedOperatorBuilder* simplified() { return &simplified_; } 31 SimplifiedOperatorBuilder* simplified() { return &simplified_; }
32 32
33 Reduction ReduceMathAbs(Node* node); 33 Reduction ReduceMathAbs(Node* node);
34 Reduction ReduceMathSqrt(Node* node); 34 Reduction ReduceMathSqrt(Node* node);
35 Reduction ReduceMathMax(Node* node); 35 Reduction ReduceMathMax(Node* node);
36 Reduction ReduceMathImul(Node* node); 36 Reduction ReduceMathImul(Node* node);
37 Reduction ReduceMathFround(Node* node); 37 Reduction ReduceMathFround(Node* node);
38 Reduction ReduceMathFloor(Node* node);
39 Reduction ReduceMathCeil(Node* node);
38 40
39 JSGraph* jsgraph_; 41 JSGraph* jsgraph_;
40 SimplifiedOperatorBuilder simplified_; 42 SimplifiedOperatorBuilder simplified_;
41 }; 43 };
42 44
43 } // namespace compiler 45 } // namespace compiler
44 } // namespace internal 46 } // namespace internal
45 } // namespace v8 47 } // namespace v8
46 48
47 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 49 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698