Re: [PATCH 1/2] [ARC] Check for odd-even register when emitting double mac ops.

2018-10-01 Thread Claudiu Zissulescu
Pushed with suggested changes. Thank you for your review, Claudiu On Thu, Sep 20, 2018 at 11:59 PM Andrew Burgess wrote: > > * Claudiu Zissulescu [2018-09-17 15:50:26 +0300]: > > > Avoid generate dmac instructions when the register is not odd-even, > > use instead the equivalent mac instruction.

Re: [PATCH 1/2] [ARC] Check for odd-even register when emitting double mac ops.

2018-09-20 Thread Andrew Burgess
* Claudiu Zissulescu [2018-09-17 15:50:26 +0300]: > Avoid generate dmac instructions when the register is not odd-even, > use instead the equivalent mac instruction. > > gcc/ > Claudiu Zissulescu > > * config/arc/arc.md (maddsidi4_split): Don't use dmac if the > destination

[PATCH 1/2] [ARC] Check for odd-even register when emitting double mac ops.

2018-09-17 Thread Claudiu Zissulescu
Avoid generate dmac instructions when the register is not odd-even, use instead the equivalent mac instruction. gcc/ Claudiu Zissulescu * config/arc/arc.md (maddsidi4_split): Don't use dmac if the destination register is not odd-even. (umaddsidi4_split): Likewise