Commit 556780b7 authored by Martin Storsjö's avatar Martin Storsjö

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.
parent 5d888dde
Pipeline #5994 passed with stages
in 6 minutes and 6 seconds
......@@ -217,7 +217,7 @@ bidir_fn mask
// This has got the same signature as the put_8tap functions,
// assumes that the caller has loaded the h argument into r5,
// and assumes that r8 is set to (24-clz(w)).
// and assumes that r8 is set to (clz(w)-24).
function put
adr r9, L(put_tbl)
ldr r8, [r9, r8, lsl #2]
......@@ -307,8 +307,8 @@ endfunc
// This has got the same signature as the put_8tap functions,
// assumes that the caller has loaded the h argument into r5,
// and assumes that r8 is set to (24-clz(w)), and r7 to w*2.
// assumes that the caller has loaded the h argument into r4,
// and assumes that r8 is set to (clz(w)-24), and r7 to w*2.
function prep
adr r9, L(prep_tbl)
ldr r8, [r9, r8, lsl #2]
......
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment