From 631d7720fd5cb4c5072aec5270bb444b68b9e0f7 Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Sun, 10 May 2020 13:40:14 +0200 Subject: 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. --- src/arm/64/msac.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arm') 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 -- cgit v1.2.3