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

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

Issue 2170343002: [turbofan] Change Float64Max/Float64Min to JavaScript semantics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mips/mips64 ports. Created 4 years, 5 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/ia32/instruction-selector-ia32.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 #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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 case IrOpcode::kFloat32Sub: 1106 case IrOpcode::kFloat32Sub:
1107 return MarkAsFloat32(node), VisitFloat32Sub(node); 1107 return MarkAsFloat32(node), VisitFloat32Sub(node);
1108 case IrOpcode::kFloat32SubPreserveNan: 1108 case IrOpcode::kFloat32SubPreserveNan:
1109 return MarkAsFloat32(node), VisitFloat32SubPreserveNan(node); 1109 return MarkAsFloat32(node), VisitFloat32SubPreserveNan(node);
1110 case IrOpcode::kFloat32Neg: 1110 case IrOpcode::kFloat32Neg:
1111 return MarkAsFloat32(node), VisitFloat32Neg(node); 1111 return MarkAsFloat32(node), VisitFloat32Neg(node);
1112 case IrOpcode::kFloat32Mul: 1112 case IrOpcode::kFloat32Mul:
1113 return MarkAsFloat32(node), VisitFloat32Mul(node); 1113 return MarkAsFloat32(node), VisitFloat32Mul(node);
1114 case IrOpcode::kFloat32Div: 1114 case IrOpcode::kFloat32Div:
1115 return MarkAsFloat32(node), VisitFloat32Div(node); 1115 return MarkAsFloat32(node), VisitFloat32Div(node);
1116 case IrOpcode::kFloat32Min:
1117 return MarkAsFloat32(node), VisitFloat32Min(node);
1118 case IrOpcode::kFloat32Max:
1119 return MarkAsFloat32(node), VisitFloat32Max(node);
1120 case IrOpcode::kFloat32Abs: 1116 case IrOpcode::kFloat32Abs:
1121 return MarkAsFloat32(node), VisitFloat32Abs(node); 1117 return MarkAsFloat32(node), VisitFloat32Abs(node);
1122 case IrOpcode::kFloat32Sqrt: 1118 case IrOpcode::kFloat32Sqrt:
1123 return MarkAsFloat32(node), VisitFloat32Sqrt(node); 1119 return MarkAsFloat32(node), VisitFloat32Sqrt(node);
1124 case IrOpcode::kFloat32Equal: 1120 case IrOpcode::kFloat32Equal:
1125 return VisitFloat32Equal(node); 1121 return VisitFloat32Equal(node);
1126 case IrOpcode::kFloat32LessThan: 1122 case IrOpcode::kFloat32LessThan:
1127 return VisitFloat32LessThan(node); 1123 return VisitFloat32LessThan(node);
1128 case IrOpcode::kFloat32LessThanOrEqual: 1124 case IrOpcode::kFloat32LessThanOrEqual:
1129 return VisitFloat32LessThanOrEqual(node); 1125 return VisitFloat32LessThanOrEqual(node);
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1988 return new (instruction_zone()) FrameStateDescriptor( 1984 return new (instruction_zone()) FrameStateDescriptor(
1989 instruction_zone(), state_info.type(), state_info.bailout_id(), 1985 instruction_zone(), state_info.type(), state_info.bailout_id(),
1990 state_info.state_combine(), parameters, locals, stack, 1986 state_info.state_combine(), parameters, locals, stack,
1991 state_info.shared_info(), outer_state); 1987 state_info.shared_info(), outer_state);
1992 } 1988 }
1993 1989
1994 1990
1995 } // namespace compiler 1991 } // namespace compiler
1996 } // namespace internal 1992 } // namespace internal
1997 } // namespace v8 1993 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698