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

Side by Side Diff: src/builtins/builtins-definitions.h

Issue 2799863002: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor (Closed)
Patch Set: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor Created 3 years, 8 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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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_BUILTINS_BUILTINS_DEFINITIONS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 /* ES #sec-regexp.prototype-@@split */ \ 779 /* ES #sec-regexp.prototype-@@split */ \
780 TFJ(RegExpPrototypeSplit, 2, kString, kLimit) \ 780 TFJ(RegExpPrototypeSplit, 2, kString, kLimit) \
781 \ 781 \
782 /* SharedArrayBuffer */ \ 782 /* SharedArrayBuffer */ \
783 CPP(SharedArrayBufferPrototypeGetByteLength) \ 783 CPP(SharedArrayBufferPrototypeGetByteLength) \
784 CPP(SharedArrayBufferPrototypeSlice) \ 784 CPP(SharedArrayBufferPrototypeSlice) \
785 TFJ(AtomicsLoad, 2, kArray, kIndex) \ 785 TFJ(AtomicsLoad, 2, kArray, kIndex) \
786 TFJ(AtomicsStore, 3, kArray, kIndex, kValue) \ 786 TFJ(AtomicsStore, 3, kArray, kIndex, kValue) \
787 TFJ(AtomicsExchange, 3, kArray, kIndex, kValue) \ 787 TFJ(AtomicsExchange, 3, kArray, kIndex, kValue) \
788 TFJ(AtomicsCompareExchange, 4, kArray, kIndex, kOldValue, kNewValue) \ 788 TFJ(AtomicsCompareExchange, 4, kArray, kIndex, kOldValue, kNewValue) \
789 CPP(AtomicsAdd) \ 789 TFJ(AtomicsAdd, 3, kArray, kIndex, kValue) \
790 CPP(AtomicsSub) \ 790 TFJ(AtomicsSub, 3, kArray, kIndex, kValue) \
791 CPP(AtomicsAnd) \ 791 TFJ(AtomicsAnd, 3, kArray, kIndex, kValue) \
792 CPP(AtomicsOr) \ 792 TFJ(AtomicsOr, 3, kArray, kIndex, kValue) \
793 CPP(AtomicsXor) \ 793 TFJ(AtomicsXor, 3, kArray, kIndex, kValue) \
794 CPP(AtomicsIsLockFree) \ 794 CPP(AtomicsIsLockFree) \
795 CPP(AtomicsWait) \ 795 CPP(AtomicsWait) \
796 CPP(AtomicsWake) \ 796 CPP(AtomicsWake) \
797 \ 797 \
798 /* String */ \ 798 /* String */ \
799 ASM(StringConstructor) \ 799 ASM(StringConstructor) \
800 ASM(StringConstructor_ConstructStub) \ 800 ASM(StringConstructor_ConstructStub) \
801 CPP(StringFromCodePoint) \ 801 CPP(StringFromCodePoint) \
802 /* ES6 #sec-string.fromcharcode */ \ 802 /* ES6 #sec-string.fromcharcode */ \
803 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ 803 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 #define BUILTIN_LIST_TFS(V) \ 1019 #define BUILTIN_LIST_TFS(V) \
1020 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1020 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1021 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1021 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1022 1022
1023 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1023 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1024 1024
1025 } // namespace internal 1025 } // namespace internal
1026 } // namespace v8 1026 } // namespace v8
1027 1027
1028 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1028 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-sharedarraybuffer.cc » ('j') | src/builtins/builtins-sharedarraybuffer-gen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698