From: lkcl Date: Sun, 3 Oct 2021 23:29:57 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3724 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1462914d79c5a0d379e4917ae2afaab472fba971;p=libreriscv.git --- 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