Mercurial > hg > graal-jvmci-8
comparison src/share/vm/adlc/output_c.cpp @ 3839:3d42f82cd811
7063628: Use cbcond on T4
Summary: Add new short branch instruction to Hotspot sparc assembler.
Reviewed-by: never, twisti, jrose
author | kvn |
---|---|
date | Thu, 21 Jul 2011 11:25:07 -0700 |
parents | 1d1603768966 |
children | 11211f7cb5a0 |
comparison
equal
deleted
inserted
replaced
3838:6a991dcb52bb | 3839:3d42f82cd811 |
---|---|
3086 | 3086 |
3087 // Access the fields for operand Label | 3087 // Access the fields for operand Label |
3088 int label_position = instr->label_position(); | 3088 int label_position = instr->label_position(); |
3089 if( label_position != -1 ) { | 3089 if( label_position != -1 ) { |
3090 // Set the label | 3090 // Set the label |
3091 fprintf(fp,"void %sNode::label_set( Label& label, uint block_num ) {\n", instr->_ident); | 3091 fprintf(fp,"void %sNode::label_set( Label* label, uint block_num ) {\n", instr->_ident); |
3092 fprintf(fp," labelOper* oper = (labelOper*)(opnd_array(%d));\n", | 3092 fprintf(fp," labelOper* oper = (labelOper*)(opnd_array(%d));\n", |
3093 label_position ); | 3093 label_position ); |
3094 fprintf(fp," oper->_label = &label;\n"); | 3094 fprintf(fp," oper->_label = label;\n"); |
3095 fprintf(fp," oper->_block_num = block_num;\n"); | 3095 fprintf(fp," oper->_block_num = block_num;\n"); |
3096 fprintf(fp,"}\n"); | 3096 fprintf(fp,"}\n"); |
3097 } | 3097 } |
3098 } | 3098 } |
3099 | 3099 |