[ARC] Differentiate between ARCv1 and ARCv2 'h'-reg class for ADD insns.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 25 Apr 2017 12:03:30 +0000 (14:03 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Tue, 25 Apr 2017 12:03:30 +0000 (14:03 +0200)
commita0caeef6c85b6e1961fa756602b26a92c1f8248f
tree548a6d138139c808a58d3a0b449a1c5fa74ad992
parent0e03cebd10fd68c4e9feaf30ab732d698f73e587
[ARC] Differentiate between ARCv1 and ARCv2 'h'-reg class for ADD insns.

gcc/
2017-04-25  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (arc_output_addsi): Check for h-register class
when emitting short ADD instructions.

From-SVN: r247195
gcc/ChangeLog
gcc/config/arc/arc.c