From: Luke Kenneth Casson Leighton Date: Fri, 15 Dec 2023 23:25:16 +0000 (+0000) Subject: bug 672: add python-based maxloc.py for unit testing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73eb16402549b4e2c2e6e7484253169ec26c7b01;p=openpower-isa.git bug 672: add python-based maxloc.py for unit testing --- diff --git a/src/openpower/decoder/isa/maxloc.py b/src/openpower/decoder/isa/maxloc.py index e71c36cf..345dd11c 100644 --- a/src/openpower/decoder/isa/maxloc.py +++ b/src/openpower/decoder/isa/maxloc.py @@ -1,3 +1,8 @@ +# Implementation of FORTRAN maxloc in python +# Copyright (C) Luke Kenneth Casson Leighton +# License: LGPLv3+ +# https://bugs.libre-soc.org/show_bug.cgi?id=676#c2 + def m2(a): m = 0; nm = 0;