Skip to content

Commit 8e00fc3

Browse files
committed
[mlir][ArmSME][nfc] Fix docs for 2-way ops
The "Refer to" and table shouldn't be in the example code sequence.
1 parent a40d68b commit 8e00fc3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,7 @@ def FMops2WayOp
10061006
Example: BF16 to FP32
10071007
```mlir
10081008
%result = arm_sme.fmops_2way $lhs, $rhs : vector<[8]xbf16>, vector<[8]xbf16> into vector<[4]x[4]xf32>
1009+
```
10091010

10101011
Refer to
10111012
[fmopa_2way](#arm_smefmopa_2way-arm_smefmopa_2wayop) for a detailed
@@ -1015,7 +1016,6 @@ def FMops2WayOp
10151016
| ---- | -------- |
10161017
| [FMOPS (widening, 2-way, FP16 to FP32)](https://developer.arm.com/documentation/ddi0602/2023-09/SME-Instructions/FMOPS--widening---Half-precision-floating-point-sum-of-outer-products-and-subtract-) | +sme |
10171018
| [BFMOPS (widening, 2-way, BF16 to FP32)](https://developer.arm.com/documentation/ddi0602/2023-09/SME-Instructions/BMOPS--Bitwise-exclusive-NOR-population-count-outer-product-and-subtract-) | +sme |
1018-
```
10191019
}];
10201020
}
10211021

@@ -1028,6 +1028,7 @@ def SMopa2WayOp
10281028
Example:
10291029
```mlir
10301030
%result = arm_sme.smopa_2way $lhs, $rhs : vector<[8]xi16>, vector<[8]xi16> into vector<[4]x[4]xi32>
1031+
```
10311032

10321033
Refer to
10331034
[fmopa_2way](#arm_smefmopa_2way-arm_smefmopa_2wayop) for a detailed
@@ -1036,7 +1037,6 @@ def SMopa2WayOp
10361037
| Spec | Features |
10371038
| ---- | -------- |
10381039
| [SMOPA (2-way)](https://developer.arm.com/documentation/ddi0602/2023-09/SME-Instructions/SMOPA--2-way---Signed-integer-sum-of-outer-products-and-accumulate-) | +sme2 |
1039-
```
10401040
}];
10411041
}
10421042

@@ -1049,6 +1049,7 @@ def SMops2WayOp
10491049
Example:
10501050
```mlir
10511051
%result = arm_sme.smops_2way $lhs, $rhs : vector<[8]xi16>, vector<[8]xi16> into vector<[4]x[4]xi32>
1052+
```
10521053

10531054
Refer to
10541055
[fmopa_2way](#arm_smefmopa_2way-arm_smefmopa_2wayop) for a detailed
@@ -1057,7 +1058,6 @@ def SMops2WayOp
10571058
| Spec | Features |
10581059
| ---- | -------- |
10591060
| [SMOPS (2-way)](https://developer.arm.com/documentation/ddi0602/2023-09/SME-Instructions/SMOPS--2-way---Signed-integer-sum-of-outer-products-and-subtract-) | +sme2 |
1060-
```
10611061
}];
10621062
}
10631063

@@ -1070,6 +1070,7 @@ def UMopa2WayOp
10701070
Example:
10711071
```mlir
10721072
%result = arm_sme.umopa_2way $lhs, $rhs : vector<[8]xi16>, vector<[8]xi16> into vector<[4]x[4]xi32>
1073+
```
10731074

10741075
Refer to
10751076
[fmopa_2way](#arm_smefmopa_2way-arm_smefmopa_2wayop) for a detailed
@@ -1078,7 +1079,6 @@ def UMopa2WayOp
10781079
| Spec | Features |
10791080
| ---- | -------- |
10801081
| [UMOPA (2-way)](https://developer.arm.com/documentation/ddi0602/2023-09/SME-Instructions/UMOPA--2-way---Unsigned-integer-sum-of-outer-products-and-accumulate-) | +sme2 |
1081-
```
10821082
}];
10831083
}
10841084

@@ -1091,6 +1091,7 @@ def UMops2WayOp
10911091
Example:
10921092
```mlir
10931093
%result = arm_sme.umops_2way $lhs, $rhs : vector<[8]xi16>, vector<[8]xi16> into vector<[4]x[4]xi32>
1094+
```
10941095

10951096
Refer to
10961097
[fmopa_2way](#arm_smefmopa_2way-arm_smefmopa_2wayop) for a detailed
@@ -1099,7 +1100,6 @@ def UMops2WayOp
10991100
| Spec | Features |
11001101
| ---- | -------- |
11011102
| [UMOPS (2-way)](https://developer.arm.com/documentation/ddi0602/2023-09/SME-Instructions/UMOPS--2-way---Unsigned-integer-sum-of-outer-products-and-subtract-) | +sme2 |
1102-
```
11031103
}];
11041104
}
11051105

0 commit comments

Comments
 (0)