clarify abridged spec
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 25 Jun 2019 11:04:01 +0000 (12:04 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 25 Jun 2019 11:04:01 +0000 (12:04 +0100)
simple_v_extension/abridged_spec.mdwn

index 5066624f26559709d780b043f8a021407031a184..9a70f0b7cbc737132cd7968f41e54cbfb38f5170 100644 (file)
@@ -733,15 +733,8 @@ now looks like this:
 
     reg_t int_regfile[128];
 
-where when accessing any individual regfile[n].b entry it is permitted
-(in c) to arbitrarily over-run the *declared* length of the array (zero),
-and thus "overspill" to consecutive register file entries in a fashion
-that is completely transparent to a greatly-simplified software / pseudo-code
-representation.
-It is however critical to note that it is clearly the responsibility of
-the implementor to ensure that, towards the end of the register file,
-an exception is thrown if attempts to access beyond the "real" register
-bytes is ever attempted.
+Implementors must ensure that over-runs of the register file throw
+an exception.
 
 The pseudo-code is as follows, to demonstrate how the sign-extending
 and width-extending works: