From: Luke Kenneth Casson Leighton Date: Wed, 17 Oct 2018 12:12:58 +0000 (+0100) Subject: clarify bitwidth X-Git-Tag: convert-csv-opcode-to-binary~4906 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=479c2cf83ad6fb7596125c7694a2f048d7c3cd40;p=libreriscv.git clarify bitwidth --- diff --git a/simple_v_extension/specification.mdwn b/simple_v_extension/specification.mdwn index aaf45034c..4af2efbee 100644 --- a/simple_v_extension/specification.mdwn +++ b/simple_v_extension/specification.mdwn @@ -1308,7 +1308,8 @@ be clear that; source operands * the operation takes place at that bitwidth * the result is extended (or potentially even, truncated) before being - stored in the destination. + stored in the destination. i.e. truncation (if required) to the + destination width occurs **after** the operation **not** before. For floating-point operations, conversion takes place without raising any kind of exception. Exactly as specified in the standard