diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2018-10-01 11:37:46 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2018-10-01 11:37:46 +0200 |
commit | e04108c7274d5066fcc791ec254f843a3ff694aa (patch) | |
tree | f9952dbead7a8869cd70d50645a0ae67c3b3e270 /gcc/explow.c | |
parent | 97e1d32c5e6efdfac3a9d6c56e8127b958fff88f (diff) | |
download | gcc-e04108c7274d5066fcc791ec254f843a3ff694aa.zip gcc-e04108c7274d5066fcc791ec254f843a3ff694aa.tar.gz gcc-e04108c7274d5066fcc791ec254f843a3ff694aa.tar.bz2 |
[ARC] Avoid specific constants to end in limm field.
Avoid constants to end up in the limm field for particular
instructions when compiling for size.
gcc/
xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.md (*add_n): Clean up pattern, update instruction
constraints.
(ashlsi3_insn): Update instruction constraints.
(ashrsi3_insn): Likewise.
(rotrsi3): Likewise.
(add_shift): Likewise.
* config/arc/constraints.md (Csz): New 32 bit constraint. It
avoids placing in the limm field small constants which, otherwise,
could end into a small instruction.
testsuite/
xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
* gcc.target/arc/tph_addx.c: New test.
From-SVN: r264737
Diffstat (limited to 'gcc/explow.c')
0 files changed, 0 insertions, 0 deletions