From: Luke Kenneth Casson Leighton Date: Wed, 15 Nov 2023 14:34:38 +0000 (+0000) Subject: no point defining nm=-1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71de06308ddd3fe1422cb3a3e1436674b9cf3270;p=openpower-isa.git no point defining nm=-1 --- diff --git a/src/openpower/decoder/isa/maxloc.py b/src/openpower/decoder/isa/maxloc.py index c5185c42..668fdd6b 100644 --- a/src/openpower/decoder/isa/maxloc.py +++ b/src/openpower/decoder/isa/maxloc.py @@ -1,6 +1,6 @@ def m2(a): m = 0; - nm = -1; + nm = 0; i = 0; n = len(a)