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

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

Issue 1477753002: [turbofan] Implemented the optional Float32RoundTiesEven operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32trunc
Patch Set: Merging with the changed codebase 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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 case IrOpcode::kFloat32RoundUp: 930 case IrOpcode::kFloat32RoundUp:
931 return MarkAsFloat32(node), VisitFloat32RoundUp(node); 931 return MarkAsFloat32(node), VisitFloat32RoundUp(node);
932 case IrOpcode::kFloat64RoundUp: 932 case IrOpcode::kFloat64RoundUp:
933 return MarkAsFloat64(node), VisitFloat64RoundUp(node); 933 return MarkAsFloat64(node), VisitFloat64RoundUp(node);
934 case IrOpcode::kFloat32RoundTruncate: 934 case IrOpcode::kFloat32RoundTruncate:
935 return MarkAsFloat32(node), VisitFloat32RoundTruncate(node); 935 return MarkAsFloat32(node), VisitFloat32RoundTruncate(node);
936 case IrOpcode::kFloat64RoundTruncate: 936 case IrOpcode::kFloat64RoundTruncate:
937 return MarkAsFloat64(node), VisitFloat64RoundTruncate(node); 937 return MarkAsFloat64(node), VisitFloat64RoundTruncate(node);
938 case IrOpcode::kFloat64RoundTiesAway: 938 case IrOpcode::kFloat64RoundTiesAway:
939 return MarkAsFloat64(node), VisitFloat64RoundTiesAway(node); 939 return MarkAsFloat64(node), VisitFloat64RoundTiesAway(node);
940 case IrOpcode::kFloat32RoundTiesEven:
941 return MarkAsFloat32(node), VisitFloat32RoundTiesEven(node);
940 case IrOpcode::kFloat64RoundTiesEven: 942 case IrOpcode::kFloat64RoundTiesEven:
941 return MarkAsFloat64(node), VisitFloat64RoundTiesEven(node); 943 return MarkAsFloat64(node), VisitFloat64RoundTiesEven(node);
942 case IrOpcode::kFloat64ExtractLowWord32: 944 case IrOpcode::kFloat64ExtractLowWord32:
943 return MarkAsWord32(node), VisitFloat64ExtractLowWord32(node); 945 return MarkAsWord32(node), VisitFloat64ExtractLowWord32(node);
944 case IrOpcode::kFloat64ExtractHighWord32: 946 case IrOpcode::kFloat64ExtractHighWord32:
945 return MarkAsWord32(node), VisitFloat64ExtractHighWord32(node); 947 return MarkAsWord32(node), VisitFloat64ExtractHighWord32(node);
946 case IrOpcode::kFloat64InsertLowWord32: 948 case IrOpcode::kFloat64InsertLowWord32:
947 return MarkAsFloat64(node), VisitFloat64InsertLowWord32(node); 949 return MarkAsFloat64(node), VisitFloat64InsertLowWord32(node);
948 case IrOpcode::kFloat64InsertHighWord32: 950 case IrOpcode::kFloat64InsertHighWord32:
949 return MarkAsFloat64(node), VisitFloat64InsertHighWord32(node); 951 return MarkAsFloat64(node), VisitFloat64InsertHighWord32(node);
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 return new (instruction_zone()) FrameStateDescriptor( 1463 return new (instruction_zone()) FrameStateDescriptor(
1462 instruction_zone(), state_info.type(), state_info.bailout_id(), 1464 instruction_zone(), state_info.type(), state_info.bailout_id(),
1463 state_info.state_combine(), parameters, locals, stack, 1465 state_info.state_combine(), parameters, locals, stack,
1464 state_info.shared_info(), outer_state); 1466 state_info.shared_info(), outer_state);
1465 } 1467 }
1466 1468
1467 1469
1468 } // namespace compiler 1470 } // namespace compiler
1469 } // namespace internal 1471 } // namespace internal
1470 } // namespace v8 1472 } // 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