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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 2070813002: Revert of [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « src/compiler/instruction-scheduler.cc ('k') | src/compiler/js-builtin-reducer.h » ('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 #include "src/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/adapters.h" 9 #include "src/base/adapters.h"
10 #include "src/compiler/instruction-selector-impl.h" 10 #include "src/compiler/instruction-selector-impl.h"
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 case IrOpcode::kFloat64Min: 1131 case IrOpcode::kFloat64Min:
1132 return MarkAsFloat64(node), VisitFloat64Min(node); 1132 return MarkAsFloat64(node), VisitFloat64Min(node);
1133 case IrOpcode::kFloat64Max: 1133 case IrOpcode::kFloat64Max:
1134 return MarkAsFloat64(node), VisitFloat64Max(node); 1134 return MarkAsFloat64(node), VisitFloat64Max(node);
1135 case IrOpcode::kFloat64Abs: 1135 case IrOpcode::kFloat64Abs:
1136 return MarkAsFloat64(node), VisitFloat64Abs(node); 1136 return MarkAsFloat64(node), VisitFloat64Abs(node);
1137 case IrOpcode::kFloat64Atan: 1137 case IrOpcode::kFloat64Atan:
1138 return MarkAsFloat64(node), VisitFloat64Atan(node); 1138 return MarkAsFloat64(node), VisitFloat64Atan(node);
1139 case IrOpcode::kFloat64Atan2: 1139 case IrOpcode::kFloat64Atan2:
1140 return MarkAsFloat64(node), VisitFloat64Atan2(node); 1140 return MarkAsFloat64(node), VisitFloat64Atan2(node);
1141 case IrOpcode::kFloat64Exp:
1142 return MarkAsFloat64(node), VisitFloat64Exp(node);
1143 case IrOpcode::kFloat64Log: 1141 case IrOpcode::kFloat64Log:
1144 return MarkAsFloat64(node), VisitFloat64Log(node); 1142 return MarkAsFloat64(node), VisitFloat64Log(node);
1145 case IrOpcode::kFloat64Log1p: 1143 case IrOpcode::kFloat64Log1p:
1146 return MarkAsFloat64(node), VisitFloat64Log1p(node); 1144 return MarkAsFloat64(node), VisitFloat64Log1p(node);
1147 case IrOpcode::kFloat64Log2: 1145 case IrOpcode::kFloat64Log2:
1148 return MarkAsFloat64(node), VisitFloat64Log2(node); 1146 return MarkAsFloat64(node), VisitFloat64Log2(node);
1149 case IrOpcode::kFloat64Log10: 1147 case IrOpcode::kFloat64Log10:
1150 return MarkAsFloat64(node), VisitFloat64Log10(node); 1148 return MarkAsFloat64(node), VisitFloat64Log10(node);
1151 case IrOpcode::kFloat64Sqrt: 1149 case IrOpcode::kFloat64Sqrt:
1152 return MarkAsFloat64(node), VisitFloat64Sqrt(node); 1150 return MarkAsFloat64(node), VisitFloat64Sqrt(node);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 } 1252 }
1255 1253
1256 void InstructionSelector::VisitFloat64Atan(Node* node) { 1254 void InstructionSelector::VisitFloat64Atan(Node* node) {
1257 VisitFloat64Ieee754Unop(node, kIeee754Float64Atan); 1255 VisitFloat64Ieee754Unop(node, kIeee754Float64Atan);
1258 } 1256 }
1259 1257
1260 void InstructionSelector::VisitFloat64Atan2(Node* node) { 1258 void InstructionSelector::VisitFloat64Atan2(Node* node) {
1261 VisitFloat64Ieee754Binop(node, kIeee754Float64Atan2); 1259 VisitFloat64Ieee754Binop(node, kIeee754Float64Atan2);
1262 } 1260 }
1263 1261
1264 void InstructionSelector::VisitFloat64Exp(Node* node) {
1265 VisitFloat64Ieee754Unop(node, kIeee754Float64Exp);
1266 }
1267
1268 void InstructionSelector::VisitFloat64Log(Node* node) { 1262 void InstructionSelector::VisitFloat64Log(Node* node) {
1269 VisitFloat64Ieee754Unop(node, kIeee754Float64Log); 1263 VisitFloat64Ieee754Unop(node, kIeee754Float64Log);
1270 } 1264 }
1271 1265
1272 void InstructionSelector::VisitFloat64Log1p(Node* node) { 1266 void InstructionSelector::VisitFloat64Log1p(Node* node) {
1273 VisitFloat64Ieee754Unop(node, kIeee754Float64Log1p); 1267 VisitFloat64Ieee754Unop(node, kIeee754Float64Log1p);
1274 } 1268 }
1275 1269
1276 void InstructionSelector::VisitFloat64Log2(Node* node) { 1270 void InstructionSelector::VisitFloat64Log2(Node* node) {
1277 VisitFloat64Ieee754Unop(node, kIeee754Float64Log2); 1271 VisitFloat64Ieee754Unop(node, kIeee754Float64Log2);
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1895 return new (instruction_zone()) FrameStateDescriptor( 1889 return new (instruction_zone()) FrameStateDescriptor(
1896 instruction_zone(), state_info.type(), state_info.bailout_id(), 1890 instruction_zone(), state_info.type(), state_info.bailout_id(),
1897 state_info.state_combine(), parameters, locals, stack, 1891 state_info.state_combine(), parameters, locals, stack,
1898 state_info.shared_info(), outer_state); 1892 state_info.shared_info(), outer_state);
1899 } 1893 }
1900 1894
1901 1895
1902 } // namespace compiler 1896 } // namespace compiler
1903 } // namespace internal 1897 } // namespace internal
1904 } // namespace v8 1898 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-scheduler.cc ('k') | src/compiler/js-builtin-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698