[Bug target/115749] Non optimal assembly for integer modulo by a constant on x86-64 CPUs
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 25 01:45:14 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115749
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kong Lingling <konglin1@gcc.gnu.org>:
https://gcc.gnu.org/g:bc00de070f0b9a25f68ffddbefe516543a44bd23
commit r15-2295-gbc00de070f0b9a25f68ffddbefe516543a44bd23
Author: Lingling Kong <lingling.kong@intel.com>
Date: Thu Jul 25 09:42:06 2024 +0800
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.
More information about the Gcc-bugs
mailing list