change * to [] array
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 18 Oct 2018 06:54:14 +0000 (07:54 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 18 Oct 2018 06:54:14 +0000 (07:54 +0100)
simple_v_extension/specification.mdwn

index fb42092989266d7796926325fd54d1c65fcc8142..2009aab21b0042282f4f205e58679c0a71fc6e18 100644 (file)
@@ -1162,11 +1162,11 @@ So a much more accurate way to reflect this would be:
 
     typedef union {
         uint8_t  actual_bytes[8]; // 8 for RV64, 4 for RV32, 16 for RV128
-        uint8_t  *b;
-        uint16_t *s;
-        uint32_t *i;
-        uint64_t *l;
-        uint128_t *d;
+        uint8_t  b[];
+        uint16_t s[];
+        uint32_t i[];
+        uint64_t l[];
+        uint128_t d[];
     } reg_t;
 
     reg_t int_regfile[128];