Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #include "test_sync_atomic.def" | |
|
JF
2014/07/13 19:56:12
You're missing the license here and in other files
jvoung (off chromium)
2014/07/14 16:20:30
So far, none of the crosstest .def, .h, .cpp files
| |
| 2 | |
| 3 #define X(inst, type) \ | |
| 4 type test_##inst(bool fetch_first, volatile type *ptr, type a); \ | |
| 5 type test_alloca_##inst(bool fetch, volatile type *ptr, type a); \ | |
| 6 type test_const_##inst(bool fetch, volatile type *ptr, type ignored); | |
| 7 | |
| 8 FOR_ALL_RMWOP_TYPES(X) | |
| 9 #undef X | |
| 10 | |
| 11 #define X(type) \ | |
| 12 type test_val_cmp_swap(volatile type *ptr, type oldval, type newval); | |
| 13 | |
| 14 ATOMIC_TYPE_TABLE | |
| 15 #undef X | |
| OLD | NEW |