From 73eb16402549b4e2c2e6e7484253169ec26c7b01 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 15 Dec 2023 23:25:16 +0000 Subject: [PATCH] bug 672: add python-based maxloc.py for unit testing --- src/openpower/decoder/isa/maxloc.py | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.30.2