]> 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)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:05:55 +0000 (19:05 +0200)
commit2d397e3279ed9641f14a45dbf66feb8697253fd6
tree6a75ec707c1feb922210325b3cb89e378a63ee3d
parent583c572b7a0e8035956a45b624a05e5e6f8742ed
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]