On Wed, 2015-09-16 at 10:14 -0500, Segher Boessenkool wrote:
> On Wed, Sep 16, 2015 at 09:28:09AM -0500, Bill Schmidt wrote:
> > I was able to use iterators for the sub-doubleword ...scal_<mode>
> > expansions, but that's all. I experimented with trying to use
> > code_iterators to generate the {smax,smin,umax,umin} expansions, but
> > couldn't find a way to make that work, as the substitution wasn't being
> > done into the UNSPEC constants. If there is a way to do this, please
> > let me know and I'll try to reduce the code size.
>
> Do you need the unspecs at all? They are only used in the pattern of
> expanders, and all such expanders call DONE. You can instead write
> those patterns as just USEs of their operands?
Hi Segher,
Yes, I had just independently come to the same conclusion -- since we
are always calling DONE, I don't need the UNSPECs at all. I'm verifying
to be sure, but this should solve my problem.
Thanks!
Bill
>
>
> Segher
>