From: Jacob Lifshay Date: Tue, 19 Sep 2023 00:55:16 +0000 (-0700) Subject: fix bug I noticed while reading git history X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4470a261e31a8b87cec6f477367697b486b82aa2;p=openpower-isa.git fix bug I noticed while reading git history --- diff --git a/src/openpower/decoder/isa/poly1305-donna.py b/src/openpower/decoder/isa/poly1305-donna.py index 9ff95335..5bbbf108 100644 --- a/src/openpower/decoder/isa/poly1305-donna.py +++ b/src/openpower/decoder/isa/poly1305-donna.py @@ -28,7 +28,7 @@ def dsrd(lo, hi, sh): mask = ~((2 ** 64 - 1) >> sh) v |= (hi & mask) << 64 hi = (v >> 64) % (2 ** 64) - lo == v % (2 ** 64) + lo = v % (2 ** 64) return lo, hi