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
path: root/src/arm
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2020-05-10 14:40:14 +0300
committerHenrik Gramner <henrik@gramner.com>2020-05-10 15:36:21 +0300
commit631d7720fd5cb4c5072aec5270bb444b68b9e0f7 (patch)
tree4a16f1d24277879ba218a749cb4078876ebc9b57 /src/arm
parenteaedb95de65fb5612297b148a306398240e8ad6f (diff)
msac: Avoid attempting to refill after eob has already been reached
Utilize the unsigned representation of a signed integer to skip the refill code if the count was already negative to begin with, which saves a few clock cycles at the end of each tile.
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/64/msac.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/64/msac.S b/src/arm/64/msac.S
index 31cc46f..4f9493a 100644
--- a/src/arm/64/msac.S
+++ b/src/arm/64/msac.S
@@ -216,7 +216,7 @@ L(renorm2):
lsl x7, x7, x5 // (~dif + (v << 48)) << d
str w4, [x0, #RNG]
mvn x7, x7 // ~dif
- b.ge 9f
+ b.hs 9f
// refill
ldp x3, x4, [x0] // BUF_POS, BUF_END