On 5/2/24 12:59 PM, Vineet Gupta wrote:
gcc/ChangeLog
        * doc/rtl.texi: Add entry for GET_MODE_INNER.

Signed-off-by: Vineet Gupta <vine...@rivosinc.com>
---
  gcc/doc/rtl.texi | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 8ea6588cb71f..f1643f41dfc6 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -1582,6 +1582,10 @@ 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 subunits contained in a complex mode such as Vector.
I'd probably use the macro's docs nearly verbatim:

/* Return the mode of the basic parts of MODE.  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 itself.  */



OK with that change.

jeff

Reply via email to