From: Luke Kenneth Casson Leighton Date: Tue, 25 Jun 2019 15:12:31 +0000 (+0100) Subject: move add to its own simple example X-Git-Tag: convert-csv-opcode-to-binary~4421 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8099310d782d0d2b743f43722a3797ec87f53088;p=libreriscv.git move add to its own simple example --- diff --git a/simple_v_extension/specification.mdwn b/simple_v_extension/specification.mdwn index 9beec1ecd..a4c7f8ebc 100644 --- a/simple_v_extension/specification.mdwn +++ b/simple_v_extension/specification.mdwn @@ -706,7 +706,16 @@ to the **one** instruction. # Instructions -See [[appendix]] +See [[appendix]] for specific cases where instruction behaviour is +augmented. A greatly simplified example is below. Note that this +is the ADD implementation, not a separate VADD instruction: + +[[!inline raw="yes" pages="simple_v_extension/simple_add_example" ]] + +Note that several things have been left out of this example. +See [[appendix]] for additional examples that show how to add +support for additional features (twin predication, elwidth, +zeroing, SUBVL etc.) # Exceptions