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

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

Issue 1474963002: [turbofan] Implemented the optional Float32RoundUp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32rounddown
Patch Set: 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
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 926 case IrOpcode::kFloat32RoundDown:
927 return MarkAsFloat32(node), VisitFloat32RoundDown(node); 927 return MarkAsFloat32(node), VisitFloat32RoundDown(node);
928 case IrOpcode::kFloat64RoundDown: 928 case IrOpcode::kFloat64RoundDown:
929 return MarkAsFloat64(node), VisitFloat64RoundDown(node); 929 return MarkAsFloat64(node), VisitFloat64RoundDown(node);
930 case IrOpcode::kFloat32RoundUp:
931 return MarkAsFloat32(node), VisitFloat32RoundUp(node);
930 case IrOpcode::kFloat64RoundUp: 932 case IrOpcode::kFloat64RoundUp:
931 return MarkAsFloat64(node), VisitFloat64RoundUp(node); 933 return MarkAsFloat64(node), VisitFloat64RoundUp(node);
932 case IrOpcode::kFloat64RoundTruncate: 934 case IrOpcode::kFloat64RoundTruncate:
933 return MarkAsFloat64(node), VisitFloat64RoundTruncate(node); 935 return MarkAsFloat64(node), VisitFloat64RoundTruncate(node);
934 case IrOpcode::kFloat64RoundTiesAway: 936 case IrOpcode::kFloat64RoundTiesAway:
935 return MarkAsFloat64(node), VisitFloat64RoundTiesAway(node); 937 return MarkAsFloat64(node), VisitFloat64RoundTiesAway(node);
936 case IrOpcode::kFloat64RoundTiesEven: 938 case IrOpcode::kFloat64RoundTiesEven:
937 return MarkAsFloat64(node), VisitFloat64RoundTiesEven(node); 939 return MarkAsFloat64(node), VisitFloat64RoundTiesEven(node);
938 case IrOpcode::kFloat64ExtractLowWord32: 940 case IrOpcode::kFloat64ExtractLowWord32:
939 return MarkAsWord32(node), VisitFloat64ExtractLowWord32(node); 941 return MarkAsWord32(node), VisitFloat64ExtractLowWord32(node);
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 return new (instruction_zone()) FrameStateDescriptor( 1459 return new (instruction_zone()) FrameStateDescriptor(
1458 instruction_zone(), state_info.type(), state_info.bailout_id(), 1460 instruction_zone(), state_info.type(), state_info.bailout_id(),
1459 state_info.state_combine(), parameters, locals, stack, 1461 state_info.state_combine(), parameters, locals, stack,
1460 state_info.shared_info(), outer_state); 1462 state_info.shared_info(), outer_state);
1461 } 1463 }
1462 1464
1463 1465
1464 } // namespace compiler 1466 } // namespace compiler
1465 } // namespace internal 1467 } // namespace internal
1466 } // namespace v8 1468 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698