From d29c69211c444f21473778c58bb0a8deb2c5fe79 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 14 Apr 2024 13:02:06 +0200 Subject: [PATCH] Exit if INCX <= 0 --- kernel/mips64/asum.S | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/mips64/asum.S b/kernel/mips64/asum.S index 2bf95c65d2..94b97e5850 100644 --- a/kernel/mips64/asum.S +++ b/kernel/mips64/asum.S @@ -76,6 +76,7 @@ dsll INCX, INCX, BASE_SHIFT blez N, .L999 + blez INCX, .L999 li TEMP, SIZE bne INCX, TEMP, .L20