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

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

Issue 1471913006: [turbofan] Implemented the optional Float32RoundDown operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed a debugging printf. Created 5 years 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
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 case IrOpcode::kFloat64Abs: 916 case IrOpcode::kFloat64Abs:
917 return MarkAsFloat64(node), VisitFloat64Abs(node); 917 return MarkAsFloat64(node), VisitFloat64Abs(node);
918 case IrOpcode::kFloat64Sqrt: 918 case IrOpcode::kFloat64Sqrt:
919 return MarkAsFloat64(node), VisitFloat64Sqrt(node); 919 return MarkAsFloat64(node), VisitFloat64Sqrt(node);
920 case IrOpcode::kFloat64Equal: 920 case IrOpcode::kFloat64Equal:
921 return VisitFloat64Equal(node); 921 return VisitFloat64Equal(node);
922 case IrOpcode::kFloat64LessThan: 922 case IrOpcode::kFloat64LessThan:
923 return VisitFloat64LessThan(node); 923 return VisitFloat64LessThan(node);
924 case IrOpcode::kFloat64LessThanOrEqual: 924 case IrOpcode::kFloat64LessThanOrEqual:
925 return VisitFloat64LessThanOrEqual(node); 925 return VisitFloat64LessThanOrEqual(node);
926 case IrOpcode::kFloat32RoundDown:
927 return MarkAsFloat32(node), VisitFloat32RoundDown(node);
926 case IrOpcode::kFloat64RoundDown: 928 case IrOpcode::kFloat64RoundDown:
927 return MarkAsFloat64(node), VisitFloat64RoundDown(node); 929 return MarkAsFloat64(node), VisitFloat64RoundDown(node);
928 case IrOpcode::kFloat64RoundUp: 930 case IrOpcode::kFloat64RoundUp:
929 return MarkAsFloat64(node), VisitFloat64RoundUp(node); 931 return MarkAsFloat64(node), VisitFloat64RoundUp(node);
930 case IrOpcode::kFloat64RoundTruncate: 932 case IrOpcode::kFloat64RoundTruncate:
931 return MarkAsFloat64(node), VisitFloat64RoundTruncate(node); 933 return MarkAsFloat64(node), VisitFloat64RoundTruncate(node);
932 case IrOpcode::kFloat64RoundTiesAway: 934 case IrOpcode::kFloat64RoundTiesAway:
933 return MarkAsFloat64(node), VisitFloat64RoundTiesAway(node); 935 return MarkAsFloat64(node), VisitFloat64RoundTiesAway(node);
934 case IrOpcode::kFloat64RoundTiesEven: 936 case IrOpcode::kFloat64RoundTiesEven:
935 return MarkAsFloat64(node), VisitFloat64RoundTiesEven(node); 937 return MarkAsFloat64(node), VisitFloat64RoundTiesEven(node);
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 return new (instruction_zone()) FrameStateDescriptor( 1457 return new (instruction_zone()) FrameStateDescriptor(
1456 instruction_zone(), state_info.type(), state_info.bailout_id(), 1458 instruction_zone(), state_info.type(), state_info.bailout_id(),
1457 state_info.state_combine(), parameters, locals, stack, 1459 state_info.state_combine(), parameters, locals, stack,
1458 state_info.shared_info(), outer_state); 1460 state_info.shared_info(), outer_state);
1459 } 1461 }
1460 1462
1461 1463
1462 } // namespace compiler 1464 } // namespace compiler
1463 } // namespace internal 1465 } // namespace internal
1464 } // namespace v8 1466 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698