diff options
author | Martin Storsjö <martin@martin.st> | 2019-01-31 11:22:47 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-01-31 13:33:34 +0300 |
commit | 532b3a6720beb58eb24aab519ca6398353b2c10b (patch) | |
tree | f1dff4738732a7d70131c9a716648a4e5683736c /src/arm/64/looprestoration.S | |
parent | ebfbf4efe65976ed7294b748420e3dd2e5b1050e (diff) |
arm64: looprestoration: Simplify the horizontal filtering of one pixel at a time
Diffstat (limited to 'src/arm/64/looprestoration.S')
-rw-r--r-- | src/arm/64/looprestoration.S | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/arm/64/looprestoration.S b/src/arm/64/looprestoration.S index 0ad4f27..7588253 100644 --- a/src/arm/64/looprestoration.S +++ b/src/arm/64/looprestoration.S @@ -282,19 +282,15 @@ L(variable_shift_tbl): addv h6, v6.8h addv h7, v7.8h dup v16.4h, v2.h[3] - dup v17.4h, v4.h[3] + ins v16.h[1], v4.h[3] + ins v6.h[1], v7.h[0] shl v16.4h, v16.4h, #7 - shl v17.4h, v17.4h, #7 sub v16.4h, v16.4h, v30.4h - sub v17.4h, v17.4h, v30.4h sqadd v6.4h, v6.4h, v16.4h - sqadd v7.4h, v7.4h, v17.4h sshr v6.4h, v6.4h, #3 - sshr v7.4h, v7.4h, #3 add v6.4h, v6.4h, v31.4h - add v7.4h, v7.4h, v31.4h st1 {v6.h}[0], [x0], #2 - st1 {v7.h}[0], [x12], #2 + st1 {v6.h}[1], [x12], #2 subs w5, w5, #1 ext v2.16b, v2.16b, v3.16b, #2 ext v4.16b, v4.16b, v5.16b, #2 |