Re: [PATCH 1/4] [ARC] Update mlo/mhi handling when big-endian CPU.

2020-02-03 Thread Jeff Law
On Mon, 2020-02-03 at 12:38 +0100, Claudiu Zissulescu wrote: > The ARC 600 MUL64 instructions are using mlo/mhi registers to pass the > 64-bit result. However, the mlo/mhi registers are not swapping > depending on endianess. Update multiplication patterns to reflect > this fact. > > gcc/ > -x

[PATCH 1/4] [ARC] Update mlo/mhi handling when big-endian CPU.

2020-02-03 Thread Claudiu Zissulescu
The ARC 600 MUL64 instructions are using mlo/mhi registers to pass the 64-bit result. However, the mlo/mhi registers are not swapping depending on endianess. Update multiplication patterns to reflect this fact. gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc.md (mulsidi_600): Corr