X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=docs%2FLangRef.rst;h=f8d87da7061b21e72d6d606404cca98872ee45a6;hp=72c0a319dfab26546f6ea55987aa405bbb772ccd;hb=56318195bfc629213f2b45e8769c472b0e0ea425;hpb=bca907f5fb210f2f4f6495ac8b0619c00351a3ca;ds=sidebyside diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 72c0a319dfa..f8d87da7061 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -6844,12 +6844,12 @@ If the ``load`` is marked as ``atomic``, it takes an extra ``release`` and ``acq_rel`` orderings are not valid on ``load`` instructions. Atomic loads produce :ref:`defined ` results when they may see multiple atomic stores. The type of the pointee 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. -``align`` must be explicitly specified on atomic loads, and the load has -undefined behavior if the alignment is not set to a value which is at -least the size in bytes of the pointee. ``!nontemporal`` does not have -any defined semantics for atomic loads. +be an integer or floating point 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. ``align`` must be explicitly specified on +atomic loads, and the load has undefined behavior if the alignment is +not set to a value which is at least the size in bytes of the pointee. +``!nontemporal`` does not have any defined semantics for atomic loads. The optional constant ``align`` argument specifies the alignment of the operation (that is, the alignment of the memory address). A value of 0 @@ -6969,12 +6969,13 @@ If the ``store`` is marked as ``atomic``, it takes an extra ``acquire`` and ``acq_rel`` orderings aren't valid on ``store`` instructions. Atomic loads produce :ref:`defined ` results when they may see multiple atomic stores. The type of the pointee 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. -``align`` must be explicitly specified on atomic stores, and the store -has undefined behavior if the alignment is not set to a value which is -at least the size in bytes of the pointee. ``!nontemporal`` does not -have any defined semantics for atomic stores. +be an integer or floating point 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. ``align`` must be explicitly specified +on atomic stores, and the store has undefined behavior if the alignment +is not set to a value which is at least the size in bytes of the +pointee. ``!nontemporal`` does not have any defined semantics for +atomic stores. The optional constant ``align`` argument specifies the alignment of the operation (that is, the alignment of the memory address). A value of 0