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: vector operations and scalar operands


> 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.

Hmm, perhaps I can do this in two step - first add the mode operand and
teach simplify_binary_operation to return the proper values for FP
comparisons that are defined now and then add some bits for the vectors
themselves.

Honza
> 
> > 	* simplify-rtx.c (simplify_binary_operation): Simplify vector shifts.
> 
> Ok.
> 
> 
> r~


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