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

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

Issue 1421163005: Implemented the ctz Turbo Fan operator for x64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed the comments Created 5 years, 1 month 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/mips64/instruction-selector-mips64.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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 163 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
164 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ 164 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \
165 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ 165 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \
166 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ 166 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \
167 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ 167 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \
168 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) \ 168 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) \
169 V(LoadFramePointer, Operator::kNoProperties, 0, 0, 1) 169 V(LoadFramePointer, Operator::kNoProperties, 0, 0, 1)
170 170
171 #define PURE_OPTIONAL_OP_LIST(V) \ 171 #define PURE_OPTIONAL_OP_LIST(V) \
172 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ 172 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \
173 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \
173 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ 174 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \
174 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ 175 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \
175 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ 176 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \
176 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ 177 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \
177 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ 178 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \
178 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ 179 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \
179 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ 180 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \
180 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) 181 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1)
181 182
182 183
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 default: 378 default:
378 break; 379 break;
379 } 380 }
380 UNREACHABLE(); 381 UNREACHABLE();
381 return nullptr; 382 return nullptr;
382 } 383 }
383 384
384 } // namespace compiler 385 } // namespace compiler
385 } // namespace internal 386 } // namespace internal
386 } // namespace v8 387 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698