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

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: Don't run downloaded SIMD value type tests. 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
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-simd.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 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 F(IsJSModule, 1, 1) \ 562 F(IsJSModule, 1, 1) \
563 F(PushModuleContext, 2, 1) \ 563 F(PushModuleContext, 2, 1) \
564 F(DeclareModules, 1, 1) \ 564 F(DeclareModules, 1, 1) \
565 F(DeleteLookupSlot, 2, 1) \ 565 F(DeleteLookupSlot, 2, 1) \
566 F(StoreLookupSlot, 4, 1) \ 566 F(StoreLookupSlot, 4, 1) \
567 F(GetArgumentsProperty, 1, 1) \ 567 F(GetArgumentsProperty, 1, 1) \
568 F(ArgumentsLength, 0, 1) \ 568 F(ArgumentsLength, 0, 1) \
569 F(Arguments, 1, 1) 569 F(Arguments, 1, 1)
570 570
571 571
572 #define FOR_EACH_INTRINSIC_SIMD(F) \ 572 #define FOR_EACH_INTRINSIC_SIMD(F) \
573 F(CreateFloat32x4, 4, 1) \ 573 F(IsSimdObject, 1, 1) \
574 F(Float32x4Check, 1, 1) \ 574 F(SimdToObject, 1, 1) \
575 F(Float32x4ExtractLane, 2, 1) \ 575 F(SimdEquals, 2, 1) \
576 F(Float32x4Equals, 2, 1) \ 576 F(SimdSameValue, 2, 1) \
577 F(Float32x4SameValue, 2, 1) \ 577 F(SimdSameValueZero, 2, 1) \
578 F(Float32x4SameValueZero, 2, 1) 578 F(CreateFloat32x4, 4, 1) \
579 F(CreateInt32x4, 4, 1) \
580 F(CreateBool32x4, 4, 1) \
581 F(CreateInt16x8, 8, 1) \
582 F(CreateBool16x8, 8, 1) \
583 F(CreateInt8x16, 16, 1) \
584 F(CreateBool8x16, 16, 1) \
585 F(Float32x4Check, 1, 1) \
586 F(Int32x4Check, 1, 1) \
587 F(Bool32x4Check, 1, 1) \
588 F(Int16x8Check, 1, 1) \
589 F(Bool16x8Check, 1, 1) \
590 F(Int8x16Check, 1, 1) \
591 F(Bool8x16Check, 1, 1) \
592 F(Float32x4ExtractLane, 2, 1) \
593 F(Int32x4ExtractLane, 2, 1) \
594 F(Bool32x4ExtractLane, 2, 1) \
595 F(Int16x8ExtractLane, 2, 1) \
596 F(Int16x8UnsignedExtractLane, 2, 1) \
597 F(Bool16x8ExtractLane, 2, 1) \
598 F(Int8x16ExtractLane, 2, 1) \
599 F(Int8x16UnsignedExtractLane, 2, 1) \
600 F(Bool8x16ExtractLane, 2, 1) \
601 F(Float32x4ReplaceLane, 3, 1) \
602 F(Int32x4ReplaceLane, 3, 1) \
603 F(Bool32x4ReplaceLane, 3, 1) \
604 F(Int16x8ReplaceLane, 3, 1) \
605 F(Bool16x8ReplaceLane, 3, 1) \
606 F(Int8x16ReplaceLane, 3, 1) \
607 F(Bool8x16ReplaceLane, 3, 1)
579 608
580 609
581 #define FOR_EACH_INTRINSIC_STRINGS(F) \ 610 #define FOR_EACH_INTRINSIC_STRINGS(F) \
582 F(StringReplaceOneCharWithString, 3, 1) \ 611 F(StringReplaceOneCharWithString, 3, 1) \
583 F(StringIndexOf, 3, 1) \ 612 F(StringIndexOf, 3, 1) \
584 F(StringLastIndexOf, 3, 1) \ 613 F(StringLastIndexOf, 3, 1) \
585 F(StringLocaleCompare, 2, 1) \ 614 F(StringLocaleCompare, 2, 1) \
586 F(SubStringRT, 3, 1) \ 615 F(SubStringRT, 3, 1) \
587 F(SubString, 3, 1) \ 616 F(SubString, 3, 1) \
588 F(StringAddRT, 2, 1) \ 617 F(StringAddRT, 2, 1) \
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 1013 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
985 return size == 1 || size == 2 || size == 4; 1014 return size == 1 || size == 2 || size == 4;
986 } 1015 }
987 1016
988 #endif 1017 #endif
989 1018
990 } // namespace internal 1019 } // namespace internal
991 } // namespace v8 1020 } // namespace v8
992 1021
993 #endif // V8_RUNTIME_RUNTIME_H_ 1022 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-simd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698