[PATCH]: Handle vector modes in genopinit.c, c-typeck.c

Joseph S. Myers jsm28@cam.ac.uk
Mon Nov 19 14:03:00 GMT 2001


On Thu, 29 Nov 2001, Daniel Berlin wrote:

> This patch changes c-typeck to allow us to build binary ops on vectors
> (assuming we have a handler in the backend), and changes genopinit to
> properly allow addv4sf3, etc, to be recognized as add handlers.

Where are the docs?  What operations are allowed?  (For example, do you
allow unary minus - if not, why not?)  Must the operands be the same type?
Can you do operations between a vector and a scalar?  Where are the
testcases for all this (that allowed operations and type combinations
work, and that non-allowed ones don't)?  What happens if a particular
operation isn't supported on particular types on a particular processor -
do you synthesise the operation?

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list