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

Side by Side Diff: src/compiler/machine-operator.h

Issue 595963002: Extend JSBuiltinReducer to cover Math.sqrt as well. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment by Benedikt. Created 6 years, 2 months 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/js-builtin-reducer-unittest.cc ('k') | src/compiler/machine-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/compiler/machine-type.h" 8 #include "src/compiler/machine-type.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const Operator* TruncateFloat64ToFloat32(); 122 const Operator* TruncateFloat64ToFloat32();
123 const Operator* TruncateFloat64ToInt32(); // JavaScript semantics. 123 const Operator* TruncateFloat64ToInt32(); // JavaScript semantics.
124 const Operator* TruncateInt64ToInt32(); 124 const Operator* TruncateInt64ToInt32();
125 125
126 // Floating point operators always operate with IEEE 754 round-to-nearest. 126 // Floating point operators always operate with IEEE 754 round-to-nearest.
127 const Operator* Float64Add(); 127 const Operator* Float64Add();
128 const Operator* Float64Sub(); 128 const Operator* Float64Sub();
129 const Operator* Float64Mul(); 129 const Operator* Float64Mul();
130 const Operator* Float64Div(); 130 const Operator* Float64Div();
131 const Operator* Float64Mod(); 131 const Operator* Float64Mod();
132 const Operator* Float64Sqrt();
132 133
133 // Floating point comparisons complying to IEEE 754. 134 // Floating point comparisons complying to IEEE 754.
134 const Operator* Float64Equal(); 135 const Operator* Float64Equal();
135 const Operator* Float64LessThan(); 136 const Operator* Float64LessThan();
136 const Operator* Float64LessThanOrEqual(); 137 const Operator* Float64LessThanOrEqual();
137 138
138 // load [base + index] 139 // load [base + index]
139 const Operator* Load(LoadRepresentation rep); 140 const Operator* Load(LoadRepresentation rep);
140 141
141 // store [base + index], value 142 // store [base + index], value
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 private: 178 private:
178 const MachineOperatorBuilderImpl& impl_; 179 const MachineOperatorBuilderImpl& impl_;
179 const MachineType word_; 180 const MachineType word_;
180 }; 181 };
181 182
182 } // namespace compiler 183 } // namespace compiler
183 } // namespace internal 184 } // namespace internal
184 } // namespace v8 185 } // namespace v8
185 186
186 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 187 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-builtin-reducer-unittest.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698