diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2017-05-09 16:19:47 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2017-05-09 16:19:47 +0200 |
commit | 79557baea826fb4493037e6ebbbb65ca0d359d9c (patch) | |
tree | db53e1cab829adad394f0dff951fea3234c5d572 /ChangeLog | |
parent | c7314bc17b9dde51f1eac83dc399d411f5fdd4a0 (diff) | |
download | gcc-79557baea826fb4493037e6ebbbb65ca0d359d9c.zip gcc-79557baea826fb4493037e6ebbbb65ca0d359d9c.tar.gz gcc-79557baea826fb4493037e6ebbbb65ca0d359d9c.tar.bz2 |
[ARC] Add support for advanced mpy/mac instructions.
gcc/
2017-05-09 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (arc_conditional_register_usage): Handle ACCL,
ACCH registers.
* config/arc/arc.md (mulsidi3): Use advanced mpy instructions when
available.
(umulsidi3): Likewise.
(mulsidi3_700): Disable this pattern when we have advanced mpy
instructions.
(umulsidi3_700): Likewise.
(maddsidi4): New pattern.
(macd, mac, mac_r, umaddsidi4, macdu, macu, macu_r): Likewise.
(mpyd_arcv2hs, mpyd_imm_arcv2hs, mpydu_arcv2hs): Likewise.
(mpydu_imm_arcv2hs): Likewise.
* config/arc/predicates.md (accl_operand): New predicate.
From-SVN: r247797
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,4 +1,20 @@ 2017-05-09 Claudiu Zissulescu <claziss@synopsys.com> + + * config/arc/arc.c (arc_conditional_register_usage): Handle ACCL, + ACCH registers. + * config/arc/arc.md (mulsidi3): Use advanced mpy instructions when + available. + (umulsidi3): Likewise. + (mulsidi3_700): Disable this pattern when we have advanced mpy + instructions. + (umulsidi3_700): Likewise. + (maddsidi4): New pattern. + (macd, mac, mac_r, umaddsidi4, macdu, macu, macu_r): Likewise. + (mpyd_arcv2hs, mpyd_imm_arcv2hs, mpydu_arcv2hs): Likewise. + (mpydu_imm_arcv2hs): Likewise. + * config/arc/predicates.md (accl_operand): New predicate. + +2017-05-09 Claudiu Zissulescu <claziss@synopsys.com> Andrew Burgess <andrew.burgess@embecosm.com> * config/arc/arc.c (ARC_AUTOBLINK_IRQ_P): Consider fast interrupts |