[PATCH] D53491: [Sparc] Add membar assembler tags
Daniel Cederman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 22 05:21:21 PDT 2018
dcederman created this revision.
dcederman added reviewers: jyknight, venkatra, brad.
Herald added subscribers: llvm-commits, jfb, jrtc27, fedor.sergeev.
The Sparc V9 membar instruction can enforce different types of memory orderings depending on the value in its immediate field. In the architectural manual the type is selected by combining different assembler tags into a mask. This patch adds support for these tags.
Repository:
rL LLVM
https://reviews.llvm.org/D53491
Files:
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp
lib/Target/Sparc/InstPrinter/SparcInstPrinter.h
lib/Target/Sparc/SparcInstrInfo.td
test/MC/Sparc/sparcv9-atomic-instructions.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53491.170391.patch
Type: text/x-patch
Size: 6304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181022/806f5228/attachment.bin>
More information about the llvm-commits
mailing list