This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Allow % to work on vectors


On Mon, 20 Apr 2009, Andrew Pinski wrote:

> > ChangeLog:
> > * c-typeck.c (build_binary_op): Allow % on integal vectors.
> > * doc/extend.texi (Vector Extension): Document that % is allowed too.
> >
> > testsuite/ChangeLog:
> > * gcc.dg/vector-4.c: New testcase.
> > * gcc.dg/simd-1b.c: % is now allowed for integer vectors.

The C changes are OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]