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

Unified Diff: src/compiler/code-assembler.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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/code-assembler.h
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
index b0f92cec2e80c04420aeca6f69fcf4c41e5381e0..86275ee0a0ea3e6bb591a213fa5c0e1cfcaba6b1 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -293,6 +293,16 @@ class V8_EXPORT_PRIVATE CodeAssembler {
Node* AtomicCompareExchange(MachineType type, Node* base, Node* offset,
Node* old_value, Node* new_value);
+ Node* AtomicAdd(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicSub(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicAnd(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicOr(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicXor(MachineType type, Node* base, Node* offset, Node* value);
+
// Store a value to the root array.
Node* StoreRoot(Heap::RootListIndex root_index, Node* value);

Powered by Google App Engine
This is Rietveld 408576698