move add to its own simple example
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 25 Jun 2019 15:12:31 +0000 (16:12 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 25 Jun 2019 15:12:31 +0000 (16:12 +0100)
simple_v_extension/specification.mdwn

index 9beec1ecd9878e9568db32a4be9517f457494c8d..a4c7f8ebc84f7948b88c6c7f84980dc68cfc6094 100644 (file)
@@ -706,7 +706,16 @@ to the **one** instruction.
 
 # Instructions <a name="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