]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add list of potential target datatype comments to SYSTEM.def
authorGaius Mulley <gaiusmod2@gmail.com>
Wed, 14 Dec 2022 12:17:48 +0000 (12:17 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Wed, 14 Dec 2022 12:17:48 +0000 (12:17 +0000)
Add list of potential target datatype comments to all SYSTEM.def
files to improve usefulness of target independent documentation.

gcc/m2/ChangeLog:

* gm2-libs-coroutines/SYSTEM.def: Added list of data types.
* gm2-libs-iso/SYSTEM.def: Added list of data types.
* gm2-libs/SYSTEM.def: Added list of data types.
* target-independent/SYSTEM-iso.texi: Rebuilt.
* target-independent/SYSTEM-pim.texi: Rebuilt.
* target-independent/gm2-libs.texi: Rebuilt.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-libs-coroutines/SYSTEM.def
gcc/m2/gm2-libs-iso/SYSTEM.def
gcc/m2/gm2-libs/SYSTEM.def
gcc/m2/target-independent/SYSTEM-iso.texi
gcc/m2/target-independent/SYSTEM-pim.texi
gcc/m2/target-independent/gm2-libs.texi

index 4ceb284569bf88ab5536923e8ac3f543af81714b..d5650b60d01d5b452ed0d4d0149e2ee0cca4fb9e 100644 (file)
@@ -51,7 +51,22 @@ TYPE
    PROCESS  = RECORD
                  context: INTEGER ;
               END ;
-(* all the following types are declared internally to gm2
+
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
+
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
+(* The following types are supported on this target:
    @SYSTEM_TYPES@
 *)
 
index 638b50b3c8d4b6340dd7d574faa0c7c416d01c79..716793b706fe3c85960b81599ed7aceb65b7eca7 100644 (file)
@@ -34,9 +34,23 @@ CONST
                   (* <implementation-defined constant> ; *)
   LOCSPERBYTE = 8 DIV BITSPERLOC ;
 
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
+
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
 (*
-   all the objects below are declared internally to gm2
-   ====================================================
+   All the data types and procedures below are declared internally.
+   ===============================================================
 
 TYPE
    @SYSTEM_TYPES@
index a26ea04cabeecb9b049117c9d9582d7645291046..2667e3bcdf5e6bb5d4ec5994722b5966639e6c6b 100644 (file)
@@ -35,8 +35,22 @@ CONST
   BITSPERBYTE   = __ATTRIBUTE__ __BUILTIN__ ((BITS_PER_UNIT)) ;
   BYTESPERWORD  = __ATTRIBUTE__ __BUILTIN__ ((UNITS_PER_WORD)) ;
 
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
 
-(* all the following types are declared internally to gm2
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
+
+(* The following types are supported on this target:
 TYPE
    @SYSTEM_TYPES@
 *)
@@ -44,7 +58,7 @@ TYPE
 
 (*
    all the functions below are declared internally to gm2
-   ====================================================
+   ======================================================
 
 PROCEDURE ADR (VAR v: <anytype>): ADDRESS;
   (* Returns the address of variable v. *)
index 052c1ce22181119ad320af7b219096bdfaa65f34..ece68a1fcdc81c205bdf666fdee013f2c9166695 100644 (file)
@@ -29,9 +29,23 @@ CONST
 @findex LOCSPERBYTE (const)
   LOCSPERBYTE = 8 DIV BITSPERLOC ;
 
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
+
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
 (*
-   all the objects below are declared internally to gm2
-   ====================================================
+   All the data types and procedures below are declared internally.
+   ===============================================================
 
 TYPE
    (* Target specific data types.  *)
index 21c1e8300c502736d096dd2cd7c01ed48c0b86b0..e2afa9d67cc9d2d070f2e13a79a6e61c9146b5ef 100644 (file)
@@ -14,8 +14,22 @@ CONST
 @findex BYTESPERWORD (const)
   BYTESPERWORD  = __ATTRIBUTE__ __BUILTIN__ ((UNITS_PER_WORD)) ;
 
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
 
-(* all the following types are declared internally to gm2
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
+
+(* The following types are supported on this target:
 TYPE
    (* Target specific data types.  *)
 *)
@@ -23,7 +37,7 @@ TYPE
 
 (*
    all the functions below are declared internally to gm2
-   ====================================================
+   ======================================================
 
 @findex ADR
 PROCEDURE ADR (VAR v: <anytype>): ADDRESS;
index 539b2ae760cd48e015b01313f9a47c6cf4c3c431..09627bde702098b0bd07ddb060c46433ef374035 100644 (file)
@@ -3189,8 +3189,22 @@ CONST
 @findex BYTESPERWORD (const)
   BYTESPERWORD  = __ATTRIBUTE__ __BUILTIN__ ((UNITS_PER_WORD)) ;
 
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
 
-(* all the following types are declared internally to gm2
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
+
+(* The following types are supported on this target:
 TYPE
    (* Target specific data types.  *)
 *)
@@ -3198,7 +3212,7 @@ TYPE
 
 (*
    all the functions below are declared internally to gm2
-   ====================================================
+   ======================================================
 
 @findex ADR
 PROCEDURE ADR (VAR v: <anytype>): ADDRESS;
@@ -8501,7 +8515,22 @@ TYPE
                  context: INTEGER ;
 @findex END (type)
               END ;
-(* all the following types are declared internally to gm2
+
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
+
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
+(* The following types are supported on this target:
    (* Target specific data types.  *)
 *)
 
@@ -13120,9 +13149,23 @@ CONST
 @findex LOCSPERBYTE (const)
   LOCSPERBYTE = 8 DIV BITSPERLOC ;
 
+(* Note that the full list of system and sized datatypes include:
+   LOC, WORD, BYTE, ADDRESS,
+
+   (and the non language standard target types)
+
+   INTEGER8, INTEGER16, INTEGER32, INTEGER64,
+   CARDINAL8, CARDINAL16, CARDINAL32, CARDINAL64,
+   WORD16, WORD32, WORD64, BITSET8, BITSET16,
+   BITSET32, REAL32, REAL64, REAL128, COMPLEX32,
+   COMPLEX64, COMPLEX128, CSIZE_T, CSSIZE_T.
+
+   Also note that the non-standard data types will
+   move into another module in the future.  *)
+
 (*
-   all the objects below are declared internally to gm2
-   ====================================================
+   All the data types and procedures below are declared internally.
+   ===============================================================
 
 TYPE
    (* Target specific data types.  *)