Re: [PATCH 1/2] [ARC] Improve code gen when compiling for size

2019-06-10 Thread Claudiu Zissulescu
Committed with your feedback taken into account. Thank you for your review, Claudiu On Sat, Jun 8, 2019 at 12:57 AM Jeff Law wrote: > > On 6/6/19 1:42 AM, Claudiu Zissulescu wrote: > > When optimizing for size, try to avoid using long immediate by > > employing alternative (short) instructions. >

Re: [PATCH 1/2] [ARC] Improve code gen when compiling for size

2019-06-07 Thread Jeff Law
On 6/6/19 1:42 AM, Claudiu Zissulescu wrote: > When optimizing for size, try to avoid using long immediate by > employing alternative (short) instructions. > > Ok to apply? > Claudiu > > gcc/ > -xx-xx Claudiu Zissulescu > > * config/arc/arc-protos.h (arc_check_ior_const): Declare. >

[PATCH 1/2] [ARC] Improve code gen when compiling for size

2019-06-06 Thread Claudiu Zissulescu
When optimizing for size, try to avoid using long immediate by employing alternative (short) instructions. Ok to apply? Claudiu gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc-protos.h (arc_check_ior_const): Declare. (arc_split_ior): Likewise. (arc_check_mov_const)