Mercurial > hg > truffle
diff src/cpu/sparc/vm/sparc.ad @ 3842:c7b60b601eb4
7069452: Cleanup NodeFlags
Summary: Remove flags which duplicate information in Node::NodeClasses.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 27 Jul 2011 17:28:36 -0700 |
parents | 3d42f82cd811 |
children | f1c12354c3f7 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sparc.ad Wed Jul 27 15:06:35 2011 -0700 +++ b/src/cpu/sparc/vm/sparc.ad Wed Jul 27 17:28:36 2011 -0700 @@ -3314,10 +3314,9 @@ //----------Instruction Attributes--------------------------------------------- ins_attrib ins_cost(DEFAULT_COST); // Required cost attribute -ins_attrib ins_size(32); // Required size attribute (in bits) -ins_attrib ins_pc_relative(0); // Required PC Relative flag -ins_attrib ins_short_branch(0); // Required flag: is this instruction a - // non-matching short branch variant of some +ins_attrib ins_size(32); // Required size attribute (in bits) +ins_attrib ins_short_branch(0); // Required flag: is this instruction a + // non-matching short branch variant of some // long branch? //----------OPERANDS----------------------------------------------------------- @@ -9182,7 +9181,6 @@ __ jmp(label_reg, G0); __ delayed()->nop(); %} - ins_pc_relative(1); ins_pipe(ialu_reg_reg); %} @@ -9199,7 +9197,6 @@ __ ba(*L); __ delayed()->nop(); %} - ins_pc_relative(1); ins_pipe(br); %} @@ -9213,7 +9210,6 @@ format %{ "BP$cmp $icc,$labl" %} // Prim = bits 24-22, Secnd = bits 31-30 ins_encode( enc_bp( labl, cmp, icc ) ); - ins_pc_relative(1); ins_pipe(br_cc); %} @@ -9230,7 +9226,6 @@ ins_cost(BRANCH_COST); format %{ "BR$cmp $op1,$labl" %} ins_encode( enc_bpr( labl, cmp, op1 ) ); - ins_pc_relative(1); ins_pipe(br_reg); %} @@ -9243,7 +9238,6 @@ ins_cost(BRANCH_COST); format %{ "BR$cmp $op1,$labl" %} ins_encode( enc_bpr( labl, cmp, op1 ) ); - ins_pc_relative(1); ins_pipe(br_reg); %} @@ -9256,7 +9250,6 @@ ins_cost(BRANCH_COST); format %{ "BR$cmp $op1,$labl" %} ins_encode( enc_bpr( labl, cmp, op1 ) ); - ins_pc_relative(1); ins_pipe(br_reg); %} @@ -9267,7 +9260,6 @@ format %{ "BP$cmp $icc,$labl" %} // Prim = bits 24-22, Secnd = bits 31-30 ins_encode( enc_bp( labl, cmp, icc ) ); - ins_pc_relative(1); ins_pipe(br_cc); %} @@ -9286,7 +9278,6 @@ __ bp( (Assembler::Condition)($cmp$$cmpcode), false, Assembler::ptr_cc, predict_taken, *L); __ delayed()->nop(); %} - ins_pc_relative(1); ins_pipe(br_cc); %} @@ -9305,7 +9296,6 @@ __ fbp( (Assembler::Condition)($cmp$$cmpcode), false, (Assembler::CC)($fcc$$reg), predict_taken, *L); __ delayed()->nop(); %} - ins_pc_relative(1); ins_pipe(br_fcc); %} @@ -9318,7 +9308,6 @@ format %{ "BP$cmp $icc,$labl\t! Loop end" %} // Prim = bits 24-22, Secnd = bits 31-30 ins_encode( enc_bp( labl, cmp, icc ) ); - ins_pc_relative(1); ins_pipe(br_cc); %} @@ -9331,7 +9320,6 @@ format %{ "BP$cmp $icc,$labl\t! Loop end" %} // Prim = bits 24-22, Secnd = bits 31-30 ins_encode( enc_bp( labl, cmp, icc ) ); - ins_pc_relative(1); ins_pipe(br_cc); %} @@ -9371,7 +9359,6 @@ __ bp( (Assembler::Condition)($cmp$$cmpcode), false, Assembler::xcc, predict_taken, *L); __ delayed()->nop(); %} - ins_pc_relative(1); ins_pipe(br_cc); %} @@ -9499,7 +9486,6 @@ ins_cost(CALL_COST); format %{ "CALL,static ; NOP ==> " %} ins_encode( Java_Static_Call( meth ), call_epilog ); - ins_pc_relative(1); ins_pipe(simple_call); %} @@ -9513,7 +9499,6 @@ ins_cost(CALL_COST); format %{ "CALL,static/MethodHandle" %} ins_encode(preserve_SP, Java_Static_Call(meth), restore_SP, call_epilog); - ins_pc_relative(1); ins_pipe(simple_call); %} @@ -9526,7 +9511,6 @@ format %{ "SET (empty),R_G5\n\t" "CALL,dynamic ; NOP ==> " %} ins_encode( Java_Dynamic_Call( meth ), call_epilog ); - ins_pc_relative(1); ins_pipe(call); %} @@ -9538,7 +9522,6 @@ format %{ "CALL,runtime" %} ins_encode( Java_To_Runtime( meth ), call_epilog, adjust_long_from_native_call ); - ins_pc_relative(1); ins_pipe(simple_call); %} @@ -9551,7 +9534,6 @@ ins_encode( Java_To_Runtime( meth ), call_epilog, adjust_long_from_native_call ); - ins_pc_relative(1); ins_pipe(simple_call); %} @@ -9564,7 +9546,6 @@ ins_encode( Java_To_Runtime( meth ), call_epilog, adjust_long_from_native_call ); - ins_pc_relative(1); ins_pipe(simple_call); %}