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

Side by Side Diff: src/compiler/machine-operator.cc

Issue 1589363002: [turbofan] Add the RoundInt32ToFloat32 operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/machine-operator.h ('k') | src/compiler/mips/instruction-selector-mips.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/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ 142 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \
143 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 143 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
144 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 144 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
145 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ 145 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \
146 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ 146 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \
147 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ 147 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \
148 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ 148 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \
149 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ 149 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \
150 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \ 150 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \
151 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 151 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
152 V(RoundInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \
152 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ 153 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \
153 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 154 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \
154 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ 155 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \
155 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 156 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \
156 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ 157 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \
157 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 158 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
158 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ 159 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \
159 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ 160 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \
160 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ 161 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \
161 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ 162 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 case MachineRepresentation::kNone: 432 case MachineRepresentation::kNone:
432 break; 433 break;
433 } 434 }
434 UNREACHABLE(); 435 UNREACHABLE();
435 return nullptr; 436 return nullptr;
436 } 437 }
437 438
438 } // namespace compiler 439 } // namespace compiler
439 } // namespace internal 440 } // namespace internal
440 } // namespace v8 441 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/mips/instruction-selector-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698