Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-11-25 15:46:52 +0300
committerMartin Storsjö <martin@martin.st>2020-12-16 13:44:46 +0300
commiteeb03a7345a352f17982b57257bf69abff6459c6 (patch)
tree7e4941353e0d49868c77971dff2ee9a50286e599
parentf3197c1a126f4911d1b028f05da78d1f58ded836 (diff)
arm64: mc16: Get rid of one instruction in blend_v w16
-rw-r--r--src/arm/64/mc16.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/arm/64/mc16.S b/src/arm/64/mc16.S
index c00b709..7a8460e 100644
--- a/src/arm/64/mc16.S
+++ b/src/arm/64/mc16.S
@@ -909,12 +909,11 @@ function blend_v_16bpc_neon, export=1
b.gt 8b
ret
160:
- ld1 {v16.8b, v17.8b}, [x5]
+ ld1 {v16.16b}, [x5]
sub x1, x1, #16
- neg v16.8b, v16.8b // -m
- neg v17.8b, v17.8b
- sxtl v16.8h, v16.8b
- sxtl v17.8h, v17.8b
+ neg v17.16b, v16.16b // -m
+ sxtl v16.8h, v17.8b
+ sxtl2 v17.8h, v17.16b
shl v16.8h, v16.8h, #9 // -m << 9
shl v17.4h, v17.4h, #9
16: