]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Adjust emulated integer vector mode multiplication costs
authorUros Bizjak <ubizjak@gmail.com>
Wed, 17 May 2023 18:25:32 +0000 (20:25 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 17 May 2023 18:26:08 +0000 (20:26 +0200)
commit3da8f61fe2b2cff66e37b972ca5da462a0841c29
tree122155032c0899a91c70fb68de20defaa5427d51
parentf5b246ce5fd95e721f0f418633964f466448d2ae
i386: Adjust emulated integer vector mode multiplication costs

Returned integer vector mode costs of emulated modes in
ix86_multiplication_cost are wrong and do not reflect generated
instruction sequences.  Rewrite handling of different integer vector
modes and different target ABIs to return real instruction
counts in order to calcuate better costs of various emulated modes.

gcc/ChangeLog:

* config/i386/i386.cc (ix86_multiplication_cost): Correct
calcuation of integer vector mode costs to reflect generated
instruction sequences of different integer vector modes and
different target ABIs.
gcc/config/i386/i386.cc