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

Side by Side Diff: src/compiler/common-operator.h

Issue 2638133002: [Turbofan] Add other integer SIMD types, add more integer ops. (Closed)
Patch Set: Fix value helper. Created 3 years, 10 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
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 #ifndef V8_COMPILER_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/base/compiler-specific.h" 9 #include "src/base/compiler-specific.h"
10 #include "src/compiler/frame-states.h" 10 #include "src/compiler/frame-states.h"
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 const Operator* TailCall(const CallDescriptor* descriptor); 380 const Operator* TailCall(const CallDescriptor* descriptor);
381 const Operator* Projection(size_t index); 381 const Operator* Projection(size_t index);
382 const Operator* Retain(); 382 const Operator* Retain();
383 const Operator* TypeGuard(Type* type); 383 const Operator* TypeGuard(Type* type);
384 384
385 // Constructs a new merge or phi operator with the same opcode as {op}, but 385 // Constructs a new merge or phi operator with the same opcode as {op}, but
386 // with {size} inputs. 386 // with {size} inputs.
387 const Operator* ResizeMergeOrPhi(const Operator* op, int size); 387 const Operator* ResizeMergeOrPhi(const Operator* op, int size);
388 388
389 // Simd Operators 389 // Simd Operators
390 const Operator* Float32x4ExtractLane(int32_t);
titzer 2017/01/25 09:47:25 Can we move all of these operators to the machine
bbudge 2017/01/26 02:04:43 Moved to MachineOperatorBuilder, and added to cach
391 const Operator* Float32x4ReplaceLane(int32_t);
390 const Operator* Int32x4ExtractLane(int32_t); 392 const Operator* Int32x4ExtractLane(int32_t);
391 const Operator* Int32x4ReplaceLane(int32_t); 393 const Operator* Int32x4ReplaceLane(int32_t);
392 const Operator* Float32x4ExtractLane(int32_t); 394 const Operator* Int16x8ExtractLane(int32_t);
393 const Operator* Float32x4ReplaceLane(int32_t); 395 const Operator* Int16x8ReplaceLane(int32_t);
396 const Operator* Int8x16ExtractLane(int32_t);
397 const Operator* Int8x16ReplaceLane(int32_t);
394 398
395 // Constructs function info for frame state construction. 399 // Constructs function info for frame state construction.
396 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( 400 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo(
397 FrameStateType type, int parameter_count, int local_count, 401 FrameStateType type, int parameter_count, int local_count,
398 Handle<SharedFunctionInfo> shared_info); 402 Handle<SharedFunctionInfo> shared_info);
399 403
400 private: 404 private:
401 Zone* zone() const { return zone_; } 405 Zone* zone() const { return zone_; }
402 406
403 const CommonOperatorGlobalCache& cache_; 407 const CommonOperatorGlobalCache& cache_;
404 Zone* const zone_; 408 Zone* const zone_;
405 409
406 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 410 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
407 }; 411 };
408 412
409 } // namespace compiler 413 } // namespace compiler
410 } // namespace internal 414 } // namespace internal
411 } // namespace v8 415 } // namespace v8
412 416
413 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 417 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698