On Thu, Apr 28, 2016 at 01:45:36PM +0300, Ilya Enkovich wrote:
> > Where does the 2 come from?  Is it that the STV pass right now supports only
> > 2 * wordsize modes?  Also, I don't think we should treat equally constants
> > that fit into the 32-bit immediates and constants that don't, the latter,
> > when movabsq needs to be used, are more costly.
> 
> This variant is for DImode going to split into two SImode.  TImode chains
> have own cost model.

Ok.  Still, we should make sure the cost of movabsq is significantly higher
than cost of other immediates (not only because the other immediates can be
used directly in the instructions, while for movabsq you need to first use
that insn to initialize some reg and then use that reg in other insn, but
also because of the movabsq latency).

        Jakub

Reply via email to