Skip to content

Commit fb62a18

Browse files
authored
[mlir][ArmSME] Update docs (llvm#74527)
1 parent 03c2f5d commit fb62a18

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

mlir/docs/Dialects/ArmSME.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
# 'ArmSME' Dialect
22

3-
[TOC]
3+
Basic dialect to target Arm SME.
4+
5+
This dialect defines custom and LLVM IR intrinsic operations that are used to
6+
target Arm Scalable Matrix Extension. Through the available conversion and
7+
ArmSME passes you can, for example, lower a
8+
[linalg.matmul](https://mlir.llvm.org/docs/Dialects/Linalg/#linalgmatmul-linalgmatmulop)
9+
opereation to Arm SME
10+
[FMOPA](https://developer.arm.com/documentation/ddi0602/2023-03/SME-Instructions/FMOPA--widening---Half-precision-floating-point-sum-of-outer-products-and-accumulate-)
11+
(floating-point outer product) operations. See one of the in-tree end-to-end
12+
integration tests for reference:
13+
14+
* [Linalg/CPU/ArmSME/matmul.mlir](https://github.com/llvm/llvm-project/blob/main/mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/matmul.mlir)
15+
* [Vector/CPU/ArmSME/test-outerproduct-f64.mlir](https://github.com/llvm/llvm-project/blob/main/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir)
416

5-
Basic dialect to target Arm SME architectures This dialect contains the
6-
definitions necessary to target Arm SME scalable matrix operations.
17+
These tests are run "post-commit" by the
18+
[clang-aarch64-sve-vla](https://lab.llvm.org/buildbot/#/builders/197) LLVM
19+
BuildBot worker.
720

8-
## References
9-
* https://developer.arm.com/documentation/ddi0616
10-
* https://developer.arm.com/documentation/ddi0602/2023-03/SME-Instructions
21+
**References:**
22+
23+
* [The Scalable Matrix Extension (SME), for Armv9-A](https://developer.arm.com/documentation/ddi0616)
24+
* [A64 -- SME Instructions (alphabetic order)](https://developer.arm.com/documentation/ddi0602/2023-03/SME-Instructions)
25+
26+
[TOC]
1127

1228
## Operations
1329

0 commit comments

Comments
 (0)