Skip to content

Commit 85bc8ec

Browse files
committed
Made semantics of micro-scaling computations clearer
1 parent b9e8dbb commit 85bc8ec

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/integrated-matrix.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,7 @@ applied, `v0` is not read, and the `bs` field is ignored.
734734

735735
When microscaling is active (`vm=0`), each output element is computed as:
736736

737-
C[m, n] ← C[m, n] + Σ_{s=0}^{S−1} scale_A[m][s] × scale_B[n][s] ×
738-
Σ_{k ∈ block s} A[m, k] × B[k, n]
737+
C[m, n] ← C[m, n] + Σ_{s=0}^{S−1} (scale_A[m][s] × scale_B[n][s] × (Σ_{k ∈ block s} A[m, k] × B[k, n]))
739738

740739
where S = ⌈K_eff / block_size⌉ is the number of scale blocks per
741740
row/column, and block _s_ covers elements
@@ -1115,9 +1114,9 @@ Tile load and store instructions follow the standard vector element-status seman
11151114

11161115
* _Active_ elements (body, mask enabled): loads fetch from memory and write `vd`; stores read `vs3` and write to memory.
11171116
Active elements may raise memory exceptions.
1118-
* _Inactive_ elements (body, mask disabled): loads do not update the destination register unless `vtype.vma`=1 (mask-agnostic), in which case those elements may be overwritten with 1s.
1117+
* _Inactive_ elements (body, mask disabled): loads never raise exceptions and do not update the destination register unless `vtype.vma`=1 (mask-agnostic), in which case those elements may be overwritten with 1s.
11191118
Stores do not write to memory and do not raise exceptions.
1120-
* _Tail_ elements (index ≥ VL): loads do not update the destination register unless `vtype.vta`=1 (tail-agnostic), in which case those elements may be overwritten with 1s.
1119+
* _Tail_ elements (index ≥ VL): loads never raise exceptions and do not update the destination register unless `vtype.vta`=1 (tail-agnostic), in which case those elements may be overwritten with 1s.
11211120
Stores do not write to memory and do not raise exceptions.
11221121
* _Prestart_ elements (index < `vstart`): neither the destination register nor memory is updated; no exceptions are raised.
11231122

0 commit comments

Comments
 (0)