From ef1140a912b50510fdf4fd7fdb3b9d243087690b Mon Sep 17 00:00:00 2001
From: Jan Hubicka <jh@suse.cz>
Date: Sat, 3 Apr 2004 19:25:47 +0200
Subject: [PATCH] * md.texi (vec_set, vec_extract, vec_init): Document.

From-SVN: r80380
---
 gcc/ChangeLog   |  4 ++++
 gcc/doc/md.texi | 15 +++++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2a0fbb720b4d..165472102343 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-03  Jan Hubicka  <jh@suse.cz>
+
+	* md.texi (vec_set, vec_extract, vec_init): Document.
+
 2004-04-02  Gabor Loki <loki@inf.u-szeged.hu>
 
        * opts.c (decode_options): Do function inlining with very small
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index f1f8dae1e520..5cff95bd2c22 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -2465,6 +2465,21 @@ into consecutive memory locations.  Operand 0 is the first of the
 consecutive memory locations, operand 1 is the first register, and
 operand 2 is a constant: the number of consecutive registers.
 
+@cindex @code{vec_set@var{m}} instruction pattern
+@item @samp{vec_set@var{m}}
+Set given field in the vector value.  Operand 0 is the vector to modify,
+operand 1 is new value of field and operand 2 specify the field index.
+
+@cindex @code{vec_extract@var{m}} instruction pattern
+@item @samp{vec_extract@var{m}}
+Extract given field from the vector value.  Operand 1 is the vector, operand 2
+specify field index and operand 0 place to store value into.
+
+@cindex @code{vec_init@var{m}} instruction pattern
+@item @samp{vec_init@var{m}}
+Initialize the vector to given values.  Operand 0 ise the vector to initialize
+and operand 1 is parallel containing values for individual fields.
+
 @cindex @code{push@var{m}} instruction pattern
 @item @samp{push@var{m}}
 Output a push instruction.  Operand 0 is value to push.  Used only when
-- 
GitLab