From 77912387209a70ed3f7294d51e52a5c96aceae2c Mon Sep 17 00:00:00 2001 From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> Date: Sun, 14 Apr 2024 13:03:50 +0200 Subject: [PATCH] Exit if INCX <= 0 --- kernel/mips64/sum.S | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/mips64/sum.S b/kernel/mips64/sum.S index 261630d49d..bc9541c480 100644 --- a/kernel/mips64/sum.S +++ b/kernel/mips64/sum.S @@ -76,6 +76,7 @@ dsll INCX, INCX, BASE_SHIFT blez N, .L999 + blez INCX, .L999 li TEMP, SIZE bne INCX, TEMP, .L20