arm.c (arm_rtx_costs_internal): Make sdiv more expensive than udiv.
authorTamar Christina <tamar.christina@arm.com>
Fri, 9 Jun 2017 13:22:39 +0000 (13:22 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Fri, 9 Jun 2017 13:22:39 +0000 (13:22 +0000)
commit37b68a4389bd452e9b5aa03870f6b81e4f26b71c
treead8aa5432626a6d75a036d2a5b0b1037944f2d69
parent53d01fd9e9568250e4304b5e0a5227e90f07cc40
arm.c (arm_rtx_costs_internal): Make sdiv more expensive than udiv.

2017-06-09  Tamar Christina  <tamar.christina@arm.com>

* config/arm/arm.c (arm_rtx_costs_internal): Make sdiv more expensive than udiv.

gcc/testsuite/
2017-06-09  Tamar Christina  <tamar.christina@arm.com>

* gcc.target/arm/sdiv_costs_1.c: New.

From-SVN: r249062
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/sdiv_costs_1.c [new file with mode: 0644]