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

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

Issue 2367413002: [turbofan] Introduces the BitcastWordToTaggedSigned and BitcastTaggedToWord opcodes. (Closed)
Patch Set: Update. Created 4 years, 2 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 V(Int64Sub, Operator::kNoProperties, 2, 0, 1) \ 115 V(Int64Sub, Operator::kNoProperties, 2, 0, 1) \
116 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ 116 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
117 V(Int64Div, Operator::kNoProperties, 2, 1, 1) \ 117 V(Int64Div, Operator::kNoProperties, 2, 1, 1) \
118 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \ 118 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \
119 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ 119 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \
120 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 120 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
121 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ 121 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \
122 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ 122 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \
123 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ 123 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \
124 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 124 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
125 V(BitcastTaggedToWord, Operator::kNoProperties, 1, 0, 1) \
125 V(BitcastWordToTagged, Operator::kNoProperties, 1, 0, 1) \ 126 V(BitcastWordToTagged, Operator::kNoProperties, 1, 0, 1) \
127 V(BitcastWordToTaggedSigned, Operator::kNoProperties, 1, 0, 1) \
126 V(TruncateFloat64ToWord32, Operator::kNoProperties, 1, 0, 1) \ 128 V(TruncateFloat64ToWord32, Operator::kNoProperties, 1, 0, 1) \
127 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 129 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
128 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ 130 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \
129 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ 131 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \
130 V(TruncateFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ 132 V(TruncateFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \
131 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ 133 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \
132 V(TruncateFloat32ToUint32, Operator::kNoProperties, 1, 0, 1) \ 134 V(TruncateFloat32ToUint32, Operator::kNoProperties, 1, 0, 1) \
133 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ 135 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \
134 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ 136 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \
135 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ 137 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 } 815 }
814 ATOMIC_REPRESENTATION_LIST(STORE) 816 ATOMIC_REPRESENTATION_LIST(STORE)
815 #undef STORE 817 #undef STORE
816 UNREACHABLE(); 818 UNREACHABLE();
817 return nullptr; 819 return nullptr;
818 } 820 }
819 821
820 } // namespace compiler 822 } // namespace compiler
821 } // namespace internal 823 } // namespace internal
822 } // namespace v8 824 } // 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