Re: [PATCH 3/9] rs6000: Make all multiply instructions one type

2014-05-23 Thread Segher Boessenkool
On Fri, May 23, 2014 at 11:22:10AM -0500, Pat Haugen wrote: > On 05/23/2014 01:09 AM, Segher Boessenkool wrote: > >@@ -27385,6 +27371,11 @@ insn_must_be_first_in_group (rtx insn) > > case TYPE_MFJMPR: > > case TYPE_MTJMPR: > >return true; > >+case TYPE_MUL: > >

Re: [PATCH 3/9] rs6000: Make all multiply instructions one type

2014-05-23 Thread Pat Haugen
On 05/23/2014 01:09 AM, Segher Boessenkool wrote: @@ -27385,6 +27371,11 @@ insn_must_be_first_in_group (rtx insn) case TYPE_MFJMPR: case TYPE_MTJMPR: return true; +case TYPE_MUL: + if (get_attr_dot (insn) == DOT_YES) +return true; +

Re: [PATCH 3/9] rs6000: Make all multiply instructions one type

2014-05-23 Thread David Edelsohn
On Fri, May 23, 2014 at 2:09 AM, Segher Boessenkool wrote: > This uses the attributes "size" and "dot" to specify the differences: > > imul3 -> mul size=8 > imul2 -> mul size=16 > imul -> mul size=32 > lmul -> mul size=64 > imul_compare -> mul size=32 dot=ye