aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineet Gupta <vineetg@rivosinc.com>2022-02-17 13:49:45 -0800
committerVineet Gupta <vineetg@rivosinc.com>2024-05-03 09:33:02 -0700
commit301b95494098024317c2f4603f759fadc8a868ca (patch)
treed237fed8cb76f8e94faafd1df60546e202e07f74
parent5219414f3cde3c1037e289a6654cd722cfa75dea (diff)
downloadgcc-301b95494098024317c2f4603f759fadc8a868ca.zip
gcc-301b95494098024317c2f4603f759fadc8a868ca.tar.gz
gcc-301b95494098024317c2f4603f759fadc8a868ca.tar.bz2
docs: rtl: document GET_MODE_INNER
gcc/ChangeLog * doc/rtl.texi: Add entry for GET_MODE_INNER. Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
-rw-r--r--gcc/doc/rtl.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 8ea6588..aa10b52 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}.