Hi Tamar,

>> I am trying to follow the Neoverse V2 model, which uses 16 for total
>> slots. If that is wrong too, we should fix both models.

> The SWoG for V2 says it can dispatch 16 micro-ops per cycle, that for V3
> Says 20.  Given the scheduling model models the constraints on the micro-opts,
>
> Why do you think this is wrong? It's not modelling MOPS.

It's wrong in that it would be impossible to get to that limit even if the CPU 
could
support it (eg. the V2 model as written has dispatch of 8 to all the ALUs and 6 
to
load/store - that gives a max of 14 micro-ops).

However we still have the 8 (or 10) MOP limit too. The key is that most 
instructions
are 1 MOP and 1 micro-op, so if we dispatch them, we cannot go beyond the 8 (or 
10)
MOPs that can be dispatched.

If we have an instruction that is N MOPs, it behaves like N separate 
instructions,
so it would lower the limit to 8-N (or 10-N).

If 1 MOP turns into 2 micro-ops, it adds a constraint for each pipe it uses 
(eg. load
with writeback should be counted as a load as well as an ALU operation). These
constraints ensure we do not oversubscribe issue to each available pipeline.

For example in the V3 model ALU instructions don't seem to have any pipe 
associated
and count as 1 slot, so it allows 20 due to the maximum slot count. The V2 model
at least limits the number of ALU operations (including for M pipe) to 8, but 
then you
could still keep adding loads/stores or vector operations well beyond the width 
of 8.

So we need to model MOPs since micro-ops are already modelled by the 
constraints.

Cheers,
Wilco

Reply via email to