https://gcc.gnu.org/g:301b95494098024317c2f4603f759fadc8a868ca

commit r15-132-g301b95494098024317c2f4603f759fadc8a868ca
Author: Vineet Gupta <vine...@rivosinc.com>
Date:   Thu Feb 17 13:49:45 2022 -0800

    docs: rtl: document GET_MODE_INNER
    
    gcc/ChangeLog
            * doc/rtl.texi: Add entry for GET_MODE_INNER.
    
    Signed-off-by: Vineet Gupta <vine...@rivosinc.com>

Diff:
---
 gcc/doc/rtl.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 8ea6588cb71..aa10b5235b5 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -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}.

Reply via email to