From e8433fcfdb722dad3090feaa2d53c60ea1c93d12 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 20 Jun 2022 14:09:39 +0100 Subject: [PATCH] stop setting not carry on --- openpower/sv/sif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/sv/sif.py b/openpower/sv/sif.py index 1f68cc122..adaf0b17d 100644 --- a/openpower/sv/sif.py +++ b/openpower/sv/sif.py @@ -8,7 +8,7 @@ def sif(RA, mask=None, zero=False): if not setting_mode and mask is not None and (mask & bit): setting_mode = True # back into "setting" mode if setting_mode and mask is not None and not (mask & bit): - setting_mode = True # masked out, stop setting + setting_mode = False # masked out, stop setting if setting_mode: if RA & bit: # found a bit in rs1: stop setting RT setting_mode = False -- 2.30.2