re PR target/87079 (nios2 optimization for size - case of regression relatively to...
authorSandra Loosemore <sandra@codesourcery.com>
Sat, 3 Nov 2018 18:12:44 +0000 (14:12 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sat, 3 Nov 2018 18:12:44 +0000 (14:12 -0400)
commit2eae232fc5a21f533ab7042475de7d6906248d14
tree9b27591c63fb419a97dfbeffca2b69a0eab218b8
parentb15ed67b3d103397393ebf07c92b0b3188d191cd
re PR target/87079 (nios2 optimization for size - case of regression relatively to 5.3.0)

2018-11-03  Sandra Loosemore  <sandra@codesourcery.com>

PR target/87079

gcc/
* config/nios2/nios2.c (nios2_rtx_costs): Recognize <mul>sidi3
pattern.

gcc/testsuite/
* gcc.target/nios2/pr87079-1.c: New.
* gcc.target/nios2/pr87079-2.c: New.

From-SVN: r265770
gcc/ChangeLog
gcc/config/nios2/nios2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/nios2/pr87079-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/nios2/pr87079-2.c [new file with mode: 0644]