mbox series

[0/2,ARC] Bug fix, improve size figures.

Message ID 20180917125027.10946-1-claziss@gmail.com
Headers show
Series Bug fix, improve size figures. | expand

Message

Claudiu Zissulescu Sept. 17, 2018, 12:50 p.m. UTC
Hi Andrew,

Please find two patches, one is fixing the dmac issue with non odd-even register pairs (test added). The second patch tries to improve the size figures by managing the long immediate field.

Thanks,
Claudiu


Claudiu Zissulescu (2):
  [ARC] Check for odd-even register when emitting double mac ops.
  [ARC] Avoid specific constants to end in limm field.

 gcc/config/arc/arc.md                   | 55 ++++++++++---------------
 gcc/config/arc/constraints.md           |  6 +++
 gcc/testsuite/gcc.target/arc/tmac-3.c   | 17 ++++++++
 gcc/testsuite/gcc.target/arc/tph_addx.c | 53 ++++++++++++++++++++++++
 4 files changed, 97 insertions(+), 34 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/arc/tmac-3.c
 create mode 100644 gcc/testsuite/gcc.target/arc/tph_addx.c