From: Dmitry Selyutin Date: Sat, 4 Sep 2021 19:38:26 +0000 (+0000) Subject: fixedtrap: switch twi to XLEN X-Git-Tag: DRAFT_SVP64_0_1~25 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dadce89f49e335679345c822f05c54e3bf8ee739;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