From: rogier.brussee@b90d8f15ea9cc02d3617789f77a64c35bcd838d8 Date: Wed, 2 May 2018 15:52:21 +0000 (+0100) Subject: Oops no mention of pasting in rs2 X-Git-Tag: convert-csv-opcode-to-binary~5390 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc55ae929349f181d866199fae55d763e2dad83f;p=libreriscv.git Oops no mention of pasting in rs2 --- diff --git a/overloadable_opcodes.mdwn b/overloadable_opcodes.mdwn index 2458b135f..826e04208 100644 --- a/overloadable_opcodes.mdwn +++ b/overloadable_opcodes.mdwn @@ -66,7 +66,9 @@ after execution: * rs2 is arbitrary (but bit XLEN-12 to XLEN -1 is discarded) after execution, - rd contains the lun of a device implementing the xintf or the luns 0 (for xext), 1 (for xext0) or 2 (for xextm1). + if the cpu recognises the UUID and device at the current privilege level, rd contains the lun of a device +implementing the xintf in bit 0..11, followed by bit 0.. XLEN - 13 of rs2. +if the cpu does not recognise the UUID and device it returns the numbers 0 (for xext), 1 (for xext0) or 2 (for xextm1), in particular bit 12.. XLEN are 0. --- The net effect is that, when the CPU implements an xintf with UUID 0xABCDE a sequence like