From 1e92da3e3fb00ba12209905d3da26f3cf5ea99f5 Mon Sep 17 00:00:00 2001 From: Tariq Kurd <59061376+tariqkurd-repo@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:38:23 +0100 Subject: [PATCH] Fix issue 42 remove zero extension text and refer to unpriv spec instead https://github.com/riscv/riscv-cheri/issues/42 Signed-off-by: Tariq Kurd <59061376+tariqkurd-repo@users.noreply.github.com> --- src/riscv-legacy-integration.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/riscv-legacy-integration.adoc b/src/riscv-legacy-integration.adoc index a484c2b6..9ce4ea09 100644 --- a/src/riscv-legacy-integration.adoc +++ b/src/riscv-legacy-integration.adoc @@ -189,8 +189,9 @@ When the XLEN-bit alias is used by <>: * Only XLEN bits from the *x* source are written to the capability address field. ** The tag and metadata are updated as specified in <>. -* Only XLEN bits are read from the capability address field, which is zero -extended to the destination *x* register. +* Only XLEN bits are read from the capability address field, which are extended +to XLENMAX bits according to cite:[riscv-unpriv-spec] and are then written +to the destination *x* register. When the CLEN-bit alias is used by <>: