Update document for VECTOR_MODES_WITH_PREFIX
authorKewen Lin <linkw@linux.ibm.com>
Tue, 7 Jun 2022 03:08:23 +0000 (22:08 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Tue, 7 Jun 2022 03:08:23 +0000 (22:08 -0500)
r10-3912 updated the format of VECTOR_MODES_WITH_PREFIX by
adding one more parameter ORDER, the related document is out
of date.  So update the document for ORDER.

gcc/ChangeLog:

* machmode.def (VECTOR_MODES_WITH_PREFIX): Update document for
parameter ORDER.

gcc/machmode.def

index b62a5fb..d625636 100644 (file)
@@ -142,9 +142,10 @@ along with GCC; see the file COPYING3.  If not see
        than two bytes (if CLASS is FLOAT).  CLASS must be INT or
        FLOAT.  The names follow the same rule as VECTOR_MODE uses.
 
-     VECTOR_MODES_WITH_PREFIX (PREFIX, CLASS, WIDTH);
+     VECTOR_MODES_WITH_PREFIX (PREFIX, CLASS, WIDTH, ORDER);
        Like VECTOR_MODES, but start the mode names with PREFIX instead
-       of the usual "V".
+       of the usual "V".  ORDER is the top-level sorting order of the
+       mode, with smaller numbers indicating a higher priority.
 
      VECTOR_BOOL_MODE (NAME, COUNT, COMPONENT, BYTESIZE)
         Create a vector mode called NAME that contains COUNT boolean