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

Side by Side Diff: src/runtime/runtime.h

Issue 1250733005: SIMD.js Add the other SIMD Phase 1 types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. Created 5 years, 4 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 F(IsJSModule, 1, 1) \ 558 F(IsJSModule, 1, 1) \
559 F(PushModuleContext, 2, 1) \ 559 F(PushModuleContext, 2, 1) \
560 F(DeclareModules, 1, 1) \ 560 F(DeclareModules, 1, 1) \
561 F(DeleteLookupSlot, 2, 1) \ 561 F(DeleteLookupSlot, 2, 1) \
562 F(StoreLookupSlot, 4, 1) \ 562 F(StoreLookupSlot, 4, 1) \
563 F(GetArgumentsProperty, 1, 1) \ 563 F(GetArgumentsProperty, 1, 1) \
564 F(ArgumentsLength, 0, 1) \ 564 F(ArgumentsLength, 0, 1) \
565 F(Arguments, 1, 1) 565 F(Arguments, 1, 1)
566 566
567 567
568 #define FOR_EACH_INTRINSIC_SIMD(F) \ 568 #define FOR_EACH_INTRINSIC_SIMD(F) \
569 F(CreateFloat32x4, 4, 1) \ 569 F(IsSimdValue, 1, 1) \
570 F(NewFloat32x4Wrapper, 1, 1) \ 570 F(SimdToObject, 1, 1) \
571 F(Float32x4Check, 1, 1) \ 571 F(SimdEquals, 2, 1) \
572 F(Float32x4ExtractLane, 2, 1) \ 572 F(SimdSameValue, 2, 1) \
573 F(Float32x4Equals, 2, 1) \ 573 F(SimdSameValueZero, 2, 1) \
574 F(Float32x4SameValue, 2, 1) \ 574 F(CreateFloat32x4, 4, 1) \
575 F(Float32x4SameValueZero, 2, 1) 575 F(CreateInt32x4, 4, 1) \
576 F(CreateBool32x4, 4, 1) \
577 F(CreateInt16x8, 8, 1) \
578 F(CreateBool16x8, 8, 1) \
579 F(CreateInt8x16, 16, 1) \
580 F(CreateBool8x16, 16, 1) \
581 F(Float32x4Check, 1, 1) \
582 F(Int32x4Check, 1, 1) \
583 F(Bool32x4Check, 1, 1) \
584 F(Int16x8Check, 1, 1) \
585 F(Bool16x8Check, 1, 1) \
586 F(Int8x16Check, 1, 1) \
587 F(Bool8x16Check, 1, 1) \
588 F(Float32x4ExtractLane, 2, 1) \
589 F(Int32x4ExtractLane, 2, 1) \
590 F(Bool32x4ExtractLane, 2, 1) \
591 F(Int16x8ExtractLane, 2, 1) \
592 F(Int16x8UnsignedExtractLane, 2, 1) \
593 F(Bool16x8ExtractLane, 2, 1) \
594 F(Int8x16ExtractLane, 2, 1) \
595 F(Int8x16UnsignedExtractLane, 2, 1) \
596 F(Bool8x16ExtractLane, 2, 1) \
597 F(Float32x4ReplaceLane, 3, 1) \
598 F(Int32x4ReplaceLane, 3, 1) \
599 F(Bool32x4ReplaceLane, 3, 1) \
600 F(Int16x8ReplaceLane, 3, 1) \
601 F(Bool16x8ReplaceLane, 3, 1) \
602 F(Int8x16ReplaceLane, 3, 1) \
603 F(Bool8x16ReplaceLane, 3, 1)
576 604
577 605
578 #define FOR_EACH_INTRINSIC_STRINGS(F) \ 606 #define FOR_EACH_INTRINSIC_STRINGS(F) \
579 F(StringReplaceOneCharWithString, 3, 1) \ 607 F(StringReplaceOneCharWithString, 3, 1) \
580 F(StringIndexOf, 3, 1) \ 608 F(StringIndexOf, 3, 1) \
581 F(StringLastIndexOf, 3, 1) \ 609 F(StringLastIndexOf, 3, 1) \
582 F(StringLocaleCompare, 2, 1) \ 610 F(StringLocaleCompare, 2, 1) \
583 F(SubStringRT, 3, 1) \ 611 F(SubStringRT, 3, 1) \
584 F(SubString, 3, 1) \ 612 F(SubString, 3, 1) \
585 F(StringAddRT, 2, 1) \ 613 F(StringAddRT, 2, 1) \
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 1010 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
983 return size == 1 || size == 2 || size == 4; 1011 return size == 1 || size == 2 || size == 4;
984 } 1012 }
985 1013
986 #endif 1014 #endif
987 1015
988 } // namespace internal 1016 } // namespace internal
989 } // namespace v8 1017 } // namespace v8
990 1018
991 #endif // V8_RUNTIME_RUNTIME_H_ 1019 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698