vector operations and scalar operands

Richard Henderson rth@redhat.com
Mon Feb 10 00:31:00 GMT 2003


On Mon, Feb 10, 2003 at 12:57:32AM +0100, Jan Hubicka wrote:
> There is problem with folding relationas - simplify_relational_operation
> does not take mode of the output as operand and always returns
> const0_rtx/const1_rtx.
> Would be something wrong with adding the mode?

Yes.  We've nothing that defines what the result of
a vector comparison is.

> 	* simplify-rtx.c (simplify_binary_operation): Simplify vector shifts.

Ok.


r~



More information about the Gcc mailing list