diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2020-05-10 14:40:14 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2020-05-10 15:36:21 +0300 |
commit | 631d7720fd5cb4c5072aec5270bb444b68b9e0f7 (patch) | |
tree | 4a16f1d24277879ba218a749cb4078876ebc9b57 /src/arm | |
parent | eaedb95de65fb5612297b148a306398240e8ad6f (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.S | 2 |
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 |