Re: Unoptimal code.

2013-12-10 Thread Richard Biener
(match_operand:HI 2 "general_mov_operand" "Ar")))] > "" > "add\t%0, (%2)" > ) > > The problem we stuck with is that the compiler emit unoptimal code for > the below testcase with -O0 option > > int a,b; > >

Unoptimal code.

2013-12-10 Thread Umesh Kalappa
t;addhi3" [(set (match_operand:HI 0 "register_operand" "=Ar") (plus:HI (match_operand:HI 1 "register_operand" "%0") (match_operand:HI 2 "general_mov_operand" "Ar")))] "" "add\t%0, (%2)" )