Mercurial > hg > graal-jvmci-8
comparison src/share/vm/adlc/output_c.cpp @ 6802:0702f188baeb
7200233: C2: can't use expand rules for vector instruction rules
Summary: Added missed _bottom_type set in ArchDesc::defineExpand() and missed vector nodes in MatchRule::is_vector().
Reviewed-by: twisti, roland, dlong
author | kvn |
---|---|
date | Tue, 25 Sep 2012 10:41:15 -0700 |
parents | da91efe96a93 |
children | e626685e9f6c |
comparison
equal
deleted
inserted
replaced
6801:1a9b9cfcef41 | 6802:0702f188baeb |
---|---|
1604 | 1604 |
1605 if( node->is_ideal_fastlock() && new_inst->is_ideal_fastlock() ) { | 1605 if( node->is_ideal_fastlock() && new_inst->is_ideal_fastlock() ) { |
1606 fprintf(fp, " ((MachFastLockNode*)n%d)->_counters = _counters;\n",cnt); | 1606 fprintf(fp, " ((MachFastLockNode*)n%d)->_counters = _counters;\n",cnt); |
1607 } | 1607 } |
1608 | 1608 |
1609 // Fill in the bottom_type where requested | |
1610 if (node->captures_bottom_type(_globalNames) && | |
1611 new_inst->captures_bottom_type(_globalNames)) { | |
1612 fprintf(fp, " ((MachTypeNode*)n%d)->_bottom_type = bottom_type();\n", cnt); | |
1613 } | |
1614 | |
1609 const char *resultOper = new_inst->reduce_result(); | 1615 const char *resultOper = new_inst->reduce_result(); |
1610 fprintf(fp," n%d->set_opnd_array(0, state->MachOperGenerator( %s, C ));\n", | 1616 fprintf(fp," n%d->set_opnd_array(0, state->MachOperGenerator( %s, C ));\n", |
1611 cnt, machOperEnum(resultOper)); | 1617 cnt, machOperEnum(resultOper)); |
1612 | 1618 |
1613 // get the formal operand NameList | 1619 // get the formal operand NameList |