summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-01-17 10:49:01 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-01-17 10:49:01 +0000
commit0cb08e448af7167ada767e0526aa44980e72ad08 (patch)
tree59214d5b7a046471bf9645a0828f4f6e2dd7215e /llvm/docs
parentbd13c9787f7076207f1b09823565572b16d31c10 (diff)
downloadbcm5719-llvm-0cb08e448af7167ada767e0526aa44980e72ad08.tar.gz
bcm5719-llvm-0cb08e448af7167ada767e0526aa44980e72ad08.zip
Allow FP types for atomicrmw xchg
llvm-svn: 351427
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 496a0f7eaaf..b28f2e6f8f6 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -8584,13 +8584,14 @@ operation. The operation must be one of the following keywords:
- umax
- umin
-The type of '<value>' must be an integer type whose bit width is a power
-of two greater than or equal to eight and less than or equal to a
-target-specific size limit. The type of the '``<pointer>``' operand must
-be a pointer to that type. If the ``atomicrmw`` is marked as
-``volatile``, then the optimizer is not allowed to modify the number or
-order of execution of this ``atomicrmw`` with other :ref:`volatile
-operations <volatile>`.
+For most of these operations, the type of '<value>' must be an integer
+type whose bit width is a power of two greater than or equal to eight
+and less than or equal to a target-specific size limit. For xchg, this
+may also be a floating point type with the same size constraints as
+integers. The type of the '``<pointer>``' operand must be a pointer to
+that type. If the ``atomicrmw`` is marked as ``volatile``, then the
+optimizer is not allowed to modify the number or order of execution of
+this ``atomicrmw`` with other :ref:`volatile operations <volatile>`.
A ``atomicrmw`` instruction can also take an optional
":ref:`syncscope <syncscope>`" argument.
OpenPOWER on IntegriCloud