mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
17a641437c
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 llvm-svn: 241923
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.
|