From 1462914d79c5a0d379e4917ae2afaab472fba971 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 4 Oct 2021 00:29:57 +0100 Subject: [PATCH] --- openpower/sv/svp64/extsxl.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/sv/svp64/extsxl.mdwn b/openpower/sv/svp64/extsxl.mdwn index 6a8a95e7e..4fd8df56d 100644 --- a/openpower/sv/svp64/extsxl.mdwn +++ b/openpower/sv/svp64/extsxl.mdwn @@ -6,7 +6,7 @@ def EXTSXL(self, value, bits): bits = min(bits, self.XLEN) - return SelectableInt(exts(value.value, bits) & ((1 << self.XLEN)-1), self.XLEN) + return SelectableInt(exts(value.value, bits), self.XLEN) # Table -- 2.30.2