This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144178 - in /trunk/gcc: ChangeLog config/spu/s...
- From: uweigand at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 14 Feb 2009 01:32:18 -0000
- Subject: r144178 - in /trunk/gcc: ChangeLog config/spu/s...
Author: uweigand
Date: Sat Feb 14 01:32:17 2009
New Revision: 144178
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144178
Log:
ChangeLog:
* config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
spu_srqwbyte, spu_srqwbytebc): Define.
* config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
* config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
"shrqby_<mode>"): New insn-and-split patterns.
* config/spu/spu.c (expand_builtin_args): Determine and return
number of operands using spu_builtin_description data.
(spu_expand_builtin_1): Use it.
testsuite/ChangeLog:
* gcc.target/spu/intrinsics-sr.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/spu/intrinsics-sr.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/spu/spu-builtins.def
trunk/gcc/config/spu/spu.c
trunk/gcc/config/spu/spu.md
trunk/gcc/config/spu/spu_internals.h
trunk/gcc/testsuite/ChangeLog