https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79262

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 40612
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40612&action=edit
The vector cost model improvement for ThunderX2 CN99xx

This changes the vector cost model to be more correct for thunderx2t99.  I did
not touch other cores, but a similar cost model should be done for at least
thunderx, a53 and a72 (and maybe others too; those are the ones I know of
currently; generic most likely should be changed because all of the current set
of cores I know of have different ratios [the only one which I did not look
into is the qualcomm core]).  Mainly because scalar/vect cost ratio is
different for int and fp.
Note I also improved one case in the vector code so it would pass the stmt_info
that it had for that statement.

Reply via email to