[flang-commits] [flang] [mlir] Add ZA directives for Flang. (PR #76505)

Thorsten Schütt via flang-commits flang-commits at lists.llvm.org
Fri Dec 29 06:53:33 PST 2023


================
@@ -29,3 +29,28 @@ A list of non-standard directives supported by Flang
     end
   end interface
 ```
+
+## ARM Streaming SVE directives
+
+These directives are added to support ARM specific instructions. All of
+these attributes apply to a specific subroutine or function. These directives
+are identical to the attributes provided in C and C++ for the same purpose.
+See https://arm-software.github.io/acle/main/acle.html#controlling-the-use-of-streaming-mode for more in depth details. (For the following, function is used
+to mean both subroutine and function).
+
+### Directives relating to ARM Streaming mode
+
+* `!dir$ arm_streaming` - The function is intended to be used in streaming
+  mode.
+* `!dir$ arm_streaming_compatible` - The function can work both in streaming
+  mode and non-streaming mode.
+* `!dir$ arm_streaming` - The function will enter streaming mode, and return to
----------------
tschuett wrote:

Did you mean `arm_locally_streaming`?

https://github.com/llvm/llvm-project/pull/76505


More information about the flang-commits mailing list