Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 1 | // WebAssemblyInstrAtomics.td-WebAssembly Atomic codegen support-*- tablegen -*- |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // WebAssembly Atomic operand code-gen constructs. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
JF Bastien | 03855df | 2015-07-01 23:41:25 +0000 | [diff] [blame] | 14 | // TODO: Implement atomic instructions. |
| 15 | |
Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 16 | //===----------------------------------------------------------------------===// |
| 17 | // Atomic fences |
| 18 | //===----------------------------------------------------------------------===// |
| 19 | |
| 20 | // TODO: add atomic fences here... |
| 21 | |
| 22 | //===----------------------------------------------------------------------===// |
| 23 | // Atomic loads |
| 24 | //===----------------------------------------------------------------------===// |
| 25 | |
| 26 | // TODO: add atomic loads here... |
| 27 | |
| 28 | //===----------------------------------------------------------------------===// |
| 29 | // Atomic stores |
| 30 | //===----------------------------------------------------------------------===// |
| 31 | |
| 32 | // TODO: add atomic stores here... |
| 33 | |
| 34 | //===----------------------------------------------------------------------===// |
| 35 | // Low-level exclusive operations |
| 36 | //===----------------------------------------------------------------------===// |
| 37 | |
| 38 | // TODO: add exclusive operations here... |
| 39 | |
| 40 | // Load-exclusives. |
| 41 | |
| 42 | // Store-exclusives. |
| 43 | |
| 44 | // Store-release-exclusives. |
| 45 | |
| 46 | // And clear exclusive. |