]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
docs: rtl: document GET_MODE_INNER
authorVineet Gupta <vineetg@rivosinc.com>
Thu, 17 Feb 2022 21:49:45 +0000 (13:49 -0800)
committerVineet Gupta <vineetg@rivosinc.com>
Fri, 3 May 2024 16:33:02 +0000 (09:33 -0700)
gcc/ChangeLog
* doc/rtl.texi: Add entry for GET_MODE_INNER.

Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
gcc/doc/rtl.texi

index 8ea6588cb71f746dcc01c692335ec6b3650a4b0a..aa10b5235b535ac9c2d22b89e44ad5d2588672b0 100644 (file)
@@ -1582,6 +1582,13 @@ less than or equal to @code{HOST_BITS_PER_INT}.
 @item GET_MODE_ALIGNMENT (@var{m})
 Return the required alignment, in bits, for an object of mode @var{m}.
 
+@findex GET_MODE_INNER
+@item GET_MODE_INNER (@var{m})
+Returns the mode of the basic parts of mode @var{m}.  For vector modes
+this is the mode of the vector elements.  For complex modes it is the
+mode of the real and imaginary parts.  For other modes it is mode @var{m}
+itself.
+
 @findex GET_MODE_UNIT_SIZE
 @item GET_MODE_UNIT_SIZE (@var{m})
 Returns the size in bytes of the subunits of a datum of mode @var{m}.