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

Unified Diff: crosstest/test_sync_atomic.h

Issue 413903002: Subzero: Add a peephole to fuse cmpxchg w/ later cmp+branch. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: blank Created 6 years, 5 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
« no previous file with comments | « no previous file | crosstest/test_sync_atomic.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_sync_atomic.h
diff --git a/crosstest/test_sync_atomic.h b/crosstest/test_sync_atomic.h
index a88cd73cb31d48ff8f5ef849e0d2f75e28194f0e..ce24a07b517930ce58049a3a26cee6c2e963670f 100644
--- a/crosstest/test_sync_atomic.h
+++ b/crosstest/test_sync_atomic.h
@@ -22,8 +22,9 @@
FOR_ALL_RMWOP_TYPES(X)
#undef X
-#define X(type) \
- type test_val_cmp_swap(volatile type *ptr, type oldval, type newval);
+#define X(type) \
+ type test_val_cmp_swap(volatile type *ptr, type oldval, type newval); \
+ type test_val_cmp_swap_loop(volatile type *ptr, type oldval, type newval);
ATOMIC_TYPE_TABLE
#undef X
« no previous file with comments | « no previous file | crosstest/test_sync_atomic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698