> Right, the segment permute costs are definitely too low.
> I think Ascalon's numbers are currently the best published ones and I'm
> seeing:
>
> 1, 2.5, 4, 9, 9.6, 10.6, 11
>
> for vlseg2, 3, ... (not including LMUL for now).  So we should IMHO
> use at least similar numbers for our default, if not worse.  That can be
> a separate patch.
>
> Similarly, the best gather, compress, and slide numbers for
> LMUL1,2,4,8 are:
>
> gather: 0.5, 1, 8, 31
> compress: 0.5, 3, 6.3, 17
> slidedown: 0.5, 1, 5.5, 18
>
> This is all throughput.  So maybe quadratic is a bit too pessimistic.

Ascalon's numbers look ok. I also want to compare with other numbers
(e.g. C950) to see how different they are.

Quadratic is indeed a bit pessimistic, but feels ok to me. or any
suggestions? maybe only make lmul=1/2 linear?

-- 
Regards,
Zhongyao

Reply via email to