From e112299f1ea2bc0f4cfa169ed180c073c4ab9a31 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 4 Sep 2021 19:38:26 +0000 Subject: [PATCH] fixedtrap: switch twi to XLEN --- openpower/isa/fixedtrap.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2