diff options
author | Martin Storsjö <martin@martin.st> | 2019-04-08 00:13:20 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-04-08 00:13:20 +0300 |
commit | 556780b7556b5be83ab49d75b23f74434f848132 (patch) | |
tree | eae7abfe751372cb1a3033bebc433578be86304d /src/arm/64/mc.S | |
parent | 5d888dde5422d34ff0847ad14352943564f49902 (diff) |
arm: Fix typos in comments
The width register has been set to clz(w)-24, not the other way
around. And the 32 bit prep function has got the h parameter in
r4, not in r5.
Diffstat (limited to 'src/arm/64/mc.S')
-rw-r--r-- | src/arm/64/mc.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arm/64/mc.S b/src/arm/64/mc.S index 839b189..a311cb0 100644 --- a/src/arm/64/mc.S +++ b/src/arm/64/mc.S @@ -235,7 +235,7 @@ bidir_fn mask // This has got the same signature as the put_8tap functions, -// and assumes that x8 is set to (24-clz(w)). +// and assumes that x8 is set to (clz(w)-24). function put adr x9, L(put_tbl) ldrh w8, [x9, x8, lsl #1] @@ -330,7 +330,7 @@ endfunc // This has got the same signature as the prep_8tap functions, -// and assumes that x8 is set to (24-clz(w)), and x7 to w*2. +// and assumes that x8 is set to (clz(w)-24), and x7 to w*2. function prep adr x9, L(prep_tbl) ldrh w8, [x9, x8, lsl #1] |