From: Dmitry Selyutin Date: Sat, 4 Sep 2021 19:38:26 +0000 (+0000) Subject: fixedtrap: switch twi to XLEN X-Git-Tag: xlen-bcd~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e112299f1ea2bc0f4cfa169ed180c073c4ab9a31;p=openpower-isa.git fixedtrap: switch twi to XLEN --- diff --git a/openpower/isa/fixedtrap.mdwn b/openpower/isa/fixedtrap.mdwn index 34a0184c..52f4d373 100644 --- a/openpower/isa/fixedtrap.mdwn +++ b/openpower/isa/fixedtrap.mdwn @@ -15,7 +15,7 @@ D-Form Pseudo-code: - a <- EXTS((RA)[32:63]) + a <- EXTS((RA)[XLEN/2:XLEN-1]) if (a < EXTS(SI)) & TO[0] then TRAP if (a > EXTS(SI)) & TO[1] then TRAP if (a = EXTS(SI)) & TO[2] then TRAP