mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-22 05:51:42 +00:00

Summary: This code is based on AArch64 for modern backend good practice, and NVPTX for virtual ISA concerns. Reviewers: sunfish Subscribers: aemerson, llvm-commits, jfb Differential Revision: http://reviews.llvm.org/D11070 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241923 91177308-0d34-0410-b5e6-96231b3b80d8
48 lines
1.5 KiB
TableGen
48 lines
1.5 KiB
TableGen
// WebAssemblyInstrAtomics.td-WebAssembly Atomic codegen support-*- tablegen -*-
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
///
|
|
/// \file
|
|
/// \brief WebAssembly Atomic operand code-gen constructs.
|
|
///
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: Implement atomic instructions.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Atomic fences
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add atomic fences here...
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Atomic loads
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add atomic loads here...
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Atomic stores
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add atomic stores here...
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Low-level exclusive operations
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add exclusive operations here...
|
|
|
|
// Load-exclusives.
|
|
|
|
// Store-exclusives.
|
|
|
|
// Store-release-exclusives.
|
|
|
|
// And clear exclusive.
|