Commit 91e0b478 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

arm64: Don't use uxth for extending a register

armasm64 fails to assemble this:
error A2173: syntax error in expression
        sub             x7,  x7,  w4, uxth

This clearly is a bug in armasm64, and will be reported. For now,
this workaround should be harmless though, as we've just loaded
the register with ldrh, so the upper parts of the register should
be zeroed.
parent 3eff6189
Pipeline #1181 passed with stage
in 2 minutes and 4 seconds
......@@ -112,7 +112,7 @@ function \type\()_8bpc_neon, export=1
\type v4, v0, v1
ldrh w4, [x7, x4, lsl #1]
\type v5, v2, v3
sub x7, x7, w4, uxth
sub x7, x7, w4, uxtw
br x7
4:
cmp w5, #4
......
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