gcc/ChangeLog:
* doc/md.texi: Update description of vec_init.
---
gcc/doc/md.texi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 5a2625ce986..dd11c5adaf5 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -7501,7 +7501,9 @@ Initialize the vector to given values. Operand 0 is the
vector to initialize
and operand 1 is parallel containing values for individual fields. The
@var{n} mode is the mode of the elements, should be either element mode of
the vector mode @var{m}, or a vector mode with the same element mode and
-smaller number of elements.
+smaller number of elements. If @var{m} specifies a scalable vector mode,
+then elements beyond the minimum number of elements implied by @var{m} are
+initialized to zero instead of using values from operand 1.
@mdindex vec_duplicate@var{m}
@item @samp{vec_duplicate@var{m}}
--
2.43.0