This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ChangeLog (generic simd)
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Jun 2002 09:28:42 -0700
- Subject: Re: ChangeLog (generic simd)
- References: <3D16E54F.F0D3CAEE@superh.com>
On Mon, Jun 24, 2002 at 10:24:31AM +0100, Joern Rennecke wrote:
> Hi!
>
> I can't find the ChangeLog entry for the addition of
> expand_vector_binop / expand_vector_unop etc.
whoops. i was wondering what jeff law was talking about when he said
he couldn't find the ppc changes. :)
committed the changelog entry.
* gcc.c-torture/execute/simd-1.c: New.
* gcc.dg/simd-1.c: New.
* doc/extend.texi (Vector Extensions): Document that we can
specify simd types not specifically supported by the hardware.
Document that simd types can be used as function arguments.
Document that signness does make a difference in SIMD types.
Misc cleanups and revisions to the vector extensions section.
* simplify-rtx.c (simplify_subreg): Simplify subregs of vector
constants.
* expr.c (vector_mode_valid_p): New.
* expr.h: Add vector_mode_valid_p.
* defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.
* c-common.c (type_for_mode): Always build vector nodes regardless
of VECTOR_MODE_SUPPORTED_P.
(handle_mode_attribute): Error if we can't emulate a nonexisting
vector mode.
(handle_vector_size_attribute): Same.
* optabs.c (expand_binop): Open-code vector operations.
(expand_unop): Open-code vector unops.
(expand_vector_binop): New.
(expand_vector_unop): New.
* c-typeck.c (build_binary_op): Allow vectors in binops.
Allow vectors in conditional operatiors.
(build_unary_op): Allow vectors in unary minus.
* config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
TARGET_ALTIVEC.