summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-11 01:49:40 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-11 01:49:40 +0000
commit6e68dcb23cac6f9178ace9f194fd4a5b51fc53b1 (patch)
tree5f26c8b021c77fc1c736d8455c21494156de0131 /gcc/expr.c
parentfceed818838afcb709ccd266c0ce9a75053977d4 (diff)
downloadppe42-gcc-6e68dcb23cac6f9178ace9f194fd4a5b51fc53b1.tar.gz
ppe42-gcc-6e68dcb23cac6f9178ace9f194fd4a5b51fc53b1.zip
Add CONST1_RTX (vector mode) support.
* emit-rtl.c (gen_const_vector): Renamed from gen_const_vector_0. Add integer argument named constant. Use const_tiny_rtx instead of CONST0_RTX. (gen_rtx_CONST_VECTOR): Rewrite to handle checks for both CONST0_RTX and CONST1_RTX. (init_emit_once): Fix users of gen_const_vector. Set CONST1_RTX for vector types. * expr.c (const_vector_from_tree): Call gen_rtx_CONST_VECTOR instead of gen_rtx_raw_CONST_VECTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87337 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 40beef3413e..44f485b32d4 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -8822,6 +8822,6 @@ const_vector_from_tree (tree exp)
for (; i < units; ++i)
RTVEC_ELT (v, i) = CONST0_RTX (inner);
- return gen_rtx_raw_CONST_VECTOR (mode, v);
+ return gen_rtx_CONST_VECTOR (mode, v);
}
#include "gt-expr.h"
OpenPOWER on IntegriCloud