--- old/src/cpu/sparc/vm/cppInterpreter_sparc.cpp Fri Jul 15 18:49:38 2011 +++ new/src/cpu/sparc/vm/cppInterpreter_sparc.cpp Fri Jul 15 18:49:38 2011 @@ -544,7 +544,7 @@ // Generate regular method entry __ bind(slow_path); - __ ba(false, fast_accessor_slow_entry_path); + __ ba(fast_accessor_slow_entry_path); __ delayed()->nop(); return entry; } @@ -719,8 +719,7 @@ Address exception_addr(G2_thread, 0, in_bytes(Thread::pending_exception_offset())); __ ld_ptr(exception_addr, G3_scratch); - __ br_notnull(G3_scratch, false, Assembler::pn, pending_exception_present); - __ delayed()->nop(); + __ br_notnull_short(G3_scratch, Assembler::pn, pending_exception_present); __ ld_ptr(Address(G5_method, 0, in_bytes(methodOopDesc::signature_handler_offset())), G3_scratch); __ bind(L); } @@ -1292,7 +1291,7 @@ deopt_frame_manager_return_atos = __ pc(); // O0/O1 live - __ ba(false, return_from_deopt_common); + __ ba(return_from_deopt_common); __ delayed()->set(AbstractInterpreter::BasicType_as_index(T_OBJECT), L3_scratch); // Result stub address array index @@ -1300,7 +1299,7 @@ deopt_frame_manager_return_btos = __ pc(); // O0/O1 live - __ ba(false, return_from_deopt_common); + __ ba(return_from_deopt_common); __ delayed()->set(AbstractInterpreter::BasicType_as_index(T_BOOLEAN), L3_scratch); // Result stub address array index // deopt needs to jump to here to enter the interpreter (return a result) @@ -1307,7 +1306,7 @@ deopt_frame_manager_return_itos = __ pc(); // O0/O1 live - __ ba(false, return_from_deopt_common); + __ ba(return_from_deopt_common); __ delayed()->set(AbstractInterpreter::BasicType_as_index(T_INT), L3_scratch); // Result stub address array index // deopt needs to jump to here to enter the interpreter (return a result) @@ -1327,7 +1326,7 @@ __ srlx(G1,32,O0); #endif /* !_LP64 && COMPILER2 */ // O0/O1 live - __ ba(false, return_from_deopt_common); + __ ba(return_from_deopt_common); __ delayed()->set(AbstractInterpreter::BasicType_as_index(T_LONG), L3_scratch); // Result stub address array index // deopt needs to jump to here to enter the interpreter (return a result) @@ -1334,7 +1333,7 @@ deopt_frame_manager_return_ftos = __ pc(); // O0/O1 live - __ ba(false, return_from_deopt_common); + __ ba(return_from_deopt_common); __ delayed()->set(AbstractInterpreter::BasicType_as_index(T_FLOAT), L3_scratch); // Result stub address array index // deopt needs to jump to here to enter the interpreter (return a result) @@ -1341,7 +1340,7 @@ deopt_frame_manager_return_dtos = __ pc(); // O0/O1 live - __ ba(false, return_from_deopt_common); + __ ba(return_from_deopt_common); __ delayed()->set(AbstractInterpreter::BasicType_as_index(T_DOUBLE), L3_scratch); // Result stub address array index // deopt needs to jump to here to enter the interpreter (return a result) @@ -1398,7 +1397,7 @@ __ ld_ptr(STATE(_stack), L1_scratch); // Get current stack top __ sub(L1_scratch, entry_size, L1_scratch); __ st_ptr(L1_scratch, STATE(_stack)); - __ ba(false, entry); + __ ba(entry); __ delayed()->add(L1_scratch, wordSize, L1_scratch); // first real entry (undo prepush) // 2. move expression stack @@ -1651,7 +1650,7 @@ __ set((int)BytecodeInterpreter::got_monitors, L1_scratch); VALIDATE_STATE(G3_scratch, 5); - __ ba(false, call_interpreter); + __ ba(call_interpreter); __ delayed()->st(L1_scratch, STATE(_msg)); // uncommon trap needs to jump to here to enter the interpreter (re-execute current bytecode) @@ -1659,7 +1658,7 @@ // QQQ what message do we send - __ ba(false, call_interpreter); + __ ba(call_interpreter); __ delayed()->ld_ptr(STATE(_frame_bottom), SP); // restore to full stack frame //============================================================================= @@ -1675,7 +1674,7 @@ // ready to resume the interpreter __ set((int)BytecodeInterpreter::deopt_resume, L1_scratch); - __ ba(false, call_interpreter); + __ ba(call_interpreter); __ delayed()->st(L1_scratch, STATE(_msg)); // Current frame has caught an exception we need to dispatch to the @@ -1763,7 +1762,7 @@ // L1_scratch points to top of stack (prepushed) - __ ba(false, resume_interpreter); + __ ba(resume_interpreter); __ delayed()->mov(L1_scratch, O1); // An exception is being caught on return to a vanilla interpreter frame. @@ -1773,7 +1772,7 @@ __ ld_ptr(STATE(_frame_bottom), SP); // restore to full stack frame __ ld_ptr(STATE(_stack_base), O1); // empty java expression stack - __ ba(false, resume_interpreter); + __ ba(resume_interpreter); __ delayed()->sub(O1, wordSize, O1); // account for prepush // Return from interpreted method we return result appropriate to the caller (i.e. "recursive" @@ -1852,7 +1851,7 @@ __ set((int)BytecodeInterpreter::method_resume, L1_scratch); __ st(L1_scratch, STATE(_msg)); - __ ba(false, call_interpreter_2); + __ ba(call_interpreter_2); __ delayed()->st_ptr(O1, STATE(_stack)); @@ -1867,8 +1866,8 @@ __ cmp(Gtmp1, O7); // returning to interpreter? __ brx(Assembler::equal, true, Assembler::pt, re_dispatch); // yep __ delayed()->nop(); - __ ba(false, re_dispatch); - __ delayed()->mov(G0, prevState); // initial entry + __ ba(re_dispatch); + __ delayed()->mov(G0, prevState); // initial entry } @@ -2031,8 +2030,8 @@ __ brx(Assembler::zero, false, Assembler::pt, unwind_and_forward); __ delayed()->nop(); - __ ld_ptr(STATE(_locals), O1); // get result of popping callee's args - __ ba(false, unwind_recursive_activation); + __ ld_ptr(STATE(_locals), O1); // get result of popping callee's args + __ ba(unwind_recursive_activation); __ delayed()->nop(); interpreter_frame_manager = entry_point;