From f1c9644fe02732fbdcd73e49ba29c98774c45ec9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 10 Oct 2018 06:21:10 +0100 Subject: [PATCH] add recommendation on unused elements --- simple_v_extension/specification.mdwn | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/simple_v_extension/specification.mdwn b/simple_v_extension/specification.mdwn index e27a446c6..5e0c1b311 100644 --- a/simple_v_extension/specification.mdwn +++ b/simple_v_extension/specification.mdwn @@ -804,4 +804,13 @@ No specific hints are yet defined in Simple-V # Under consideration -placeholder +for element-grouping, if there is unused space within a register +(3 16-bit elements in a 64-bit register for example), recommend: + +* For the unused elements in an integer register, the used element + closest to the MSB is sign-extended on write and the unused elements + are ignored on read. +* The unused elements in a floating-point register are treated as-if + they are set to all ones on write and are ignored on read, matching the + existing standard for storing smaller FP values in larger registers. + -- 2.30.2