Re: x86 SSE constants

2005-10-01 Thread Jan Hubicka
> On Fri, Sep 30, 2005 at 04:31:59PM -0700, Dale Johannesen wrote: > > No, there isn't, but it might be a smaller change to add a new > > constraint > > having constraints tied to specific constants is pretty ugly, and so is > > having (if (constant value==0)) in a lot of patterns..,, > > Tha

Re: x86 SSE constants

2005-09-30 Thread Richard Henderson
On Fri, Sep 30, 2005 at 04:31:59PM -0700, Dale Johannesen wrote: > No, there isn't, but it might be a smaller change to add a new > constraint > having constraints tied to specific constants is pretty ugly, and so is > having (if (constant value==0)) in a lot of patterns..,, That's why you'd

Re: x86 SSE constants

2005-09-30 Thread Dale Johannesen
On Sep 30, 2005, at 4:17 PM, Jan Hubicka wrote: The C constraint on x86 is defined, in both the doc and the comments, as "constant that can be easily constructed in SSE register without loading from memory". Currently the only one handled is 0, but there is at least one more, all 1 bits, wh

Re: x86 SSE constants

2005-09-30 Thread Jan Hubicka
> The C constraint on x86 is defined, in both the doc and the comments, as > "constant that can be easily constructed in SSE register without loading > from memory". Currently the only one handled is 0, but there is at > least > one more, all 1 bits, which is constructed by >pcmpeqd %xmm, %

x86 SSE constants

2005-09-30 Thread Dale Johannesen
The C constraint on x86 is defined, in both the doc and the comments, as "constant that can be easily constructed in SSE register without loading from memory". Currently the only one handled is 0, but there is at least one more, all 1 bits, which is constructed by pcmpeqd %xmm, %xmm Unfor