>> 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?
Some SiFive cores are quadratic, P870 has 1, 12, 26, 68 C920 v2: 0.5, 2.4, 8, 32 Maybe we should just have this as LMUL array per core, same for compress and slides? It might be overkill but on the other hand, why not try to be exact even if it won't help too much yet? On the other hand, slides are linear everywhere from what I can see. Any opinions? BTW I still hope to post a vect patch that allows us to do fine-grained perm costing before stage 1 closes. -- Regards Robin
