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

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

Issue 1905813003: [turbofan] Introduce dedicated BitcastWordToTagged machine operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Small fix. Created 4 years, 8 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/opcodes.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/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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 V(Int64SubWithOverflow, Operator::kNoProperties, 2, 0, 2) \ 139 V(Int64SubWithOverflow, Operator::kNoProperties, 2, 0, 2) \
140 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ 140 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
141 V(Int64Div, Operator::kNoProperties, 2, 1, 1) \ 141 V(Int64Div, Operator::kNoProperties, 2, 1, 1) \
142 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \ 142 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \
143 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ 143 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \
144 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 144 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
145 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ 145 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \
146 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ 146 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \
147 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ 147 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \
148 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 148 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
149 V(BitcastWordToTagged, Operator::kNoProperties, 1, 0, 1) \
149 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 150 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
150 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ 151 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \
151 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ 152 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \
152 V(TruncateFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ 153 V(TruncateFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \
153 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ 154 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \
154 V(TruncateFloat32ToUint32, Operator::kNoProperties, 1, 0, 1) \ 155 V(TruncateFloat32ToUint32, Operator::kNoProperties, 1, 0, 1) \
155 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ 156 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \
156 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ 157 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \
157 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ 158 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \
158 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \ 159 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 } 517 }
517 ATOMIC_TYPE_LIST(LOAD) 518 ATOMIC_TYPE_LIST(LOAD)
518 #undef LOAD 519 #undef LOAD
519 UNREACHABLE(); 520 UNREACHABLE();
520 return nullptr; 521 return nullptr;
521 } 522 }
522 523
523 } // namespace compiler 524 } // namespace compiler
524 } // namespace internal 525 } // namespace internal
525 } // namespace v8 526 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698