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

Claudiu Zissulescu claziss@gmail.com
Mon Sep 17 12:50:00 GMT 2018


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

-- 
2.17.1



More information about the Gcc-patches mailing list