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