]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Adjust rtx cost for imulq and imulw [PR115749]
authorLingling Kong <lingling.kong@intel.com>
Thu, 25 Jul 2024 01:42:06 +0000 (09:42 +0800)
committerLingling Kong <lingling.kong@intel.com>
Thu, 25 Jul 2024 01:42:19 +0000 (09:42 +0800)
commitbc00de070f0b9a25f68ffddbefe516543a44bd23
tree612b9488fa9c44187eb6719c345c573f9e83e1b4
parent25256af1da7c23c845db128263c2f8749750d2ce
i386: Adjust rtx cost for imulq and imulw [PR115749]

gcc/ChangeLog:

PR target/115749
* config/i386/x86-tune-costs.h (struct processor_costs):
Adjust rtx_cost of imulq and imulw for COST_N_INSNS (4)
to COST_N_INSNS (3).

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr115749.c: New test.
gcc/config/i386/x86-tune-costs.h
gcc/testsuite/gcc.target/i386/pr115749.c [new file with mode: 0644]