Andrew Pinski <pinskia at gcc dot> changed:

           What    |Removed                     |Added
                 CC|                            |pinskia at gcc dot

--- Comment #9 from Andrew Pinski <pinskia at gcc dot> ---
(In reply to jim.wilson from comment #7) 
> If we represent a fused pair as a single instruction, then we are
> getting the issue count wrong, as they take two issue slots, but one
> function unit slot.

It depends on how the fusion works.  On the processor I am working on, the
fused instruction will take only one issue slot but two decode slots.

>  However, there is a way to deal with the issue
> count.  We could use TARGET_SCHED_VARIABLE_ISSUE to make the single
> fused insn take two issue slots.  I already wrote a patch like that
> for a different reason as an experiment so I know this can work.

If this is done, please make it dependent on the micro-arch.

I have another issue which I am trying to figure out how to handle.  In some
cases, the instructions don't take up an issue slots at all and their latency
are zero but only if one of those per dispatch group.

Reply via email to