@@ -92,7 +92,7 @@ int StubAssembler::call_RT(Register oop_result1, Register metadata_result,
92
92
if (frame_size () == no_frame_size) {
93
93
ShouldNotReachHere (); // We always have a frame size.
94
94
// pop_frame(); // pop the stub frame
95
- // ld(R0, _abi (lr), R1_SP);
95
+ // ld(R0, _abi0 (lr), R1_SP);
96
96
// mtlr(R0);
97
97
// load_const_optimized(R0, StubRoutines::forward_exception_entry());
98
98
// mtctr(R0);
@@ -185,7 +185,7 @@ static OopMap* save_live_registers(StubAssembler* sasm, bool save_fpu_registers
185
185
ret_pc = R0;
186
186
__ mflr (ret_pc);
187
187
}
188
- __ std (ret_pc, _abi (lr), R1_SP); // C code needs pc in C1 method.
188
+ __ std (ret_pc, _abi0 (lr), R1_SP); // C code needs pc in C1 method.
189
189
__ push_frame (frame_size_in_bytes + stack_preserve, R0);
190
190
191
191
// Record volatile registers as callee-save values in an OopMap so
@@ -233,7 +233,7 @@ static void restore_live_registers(StubAssembler* sasm, Register result1, Regist
233
233
}
234
234
235
235
__ pop_frame ();
236
- __ ld (R0, _abi (lr), R1_SP);
236
+ __ ld (R0, _abi0 (lr), R1_SP);
237
237
__ mtlr (R0);
238
238
}
239
239
@@ -485,7 +485,7 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
485
485
__ bclr (Assembler::bcondCRbiIs1, Assembler::bi0 (CCR0, Assembler::equal), Assembler::bhintbhBCLRisReturn);
486
486
487
487
__ mflr (R0);
488
- __ std (R0, _abi (lr), R1_SP);
488
+ __ std (R0, _abi0 (lr), R1_SP);
489
489
__ push_frame (frame::abi_reg_args_size, R0); // Empty dummy frame (no callee-save regs).
490
490
sasm->set_frame_size (frame::abi_reg_args_size / BytesPerWord);
491
491
OopMap* oop_map = new OopMap (frame::abi_reg_args_size / sizeof (jint), 0 );
@@ -495,7 +495,7 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
495
495
oop_maps->add_gc_map (call_offset, oop_map);
496
496
497
497
__ pop_frame ();
498
- __ ld (R0, _abi (lr), R1_SP);
498
+ __ ld (R0, _abi0 (lr), R1_SP);
499
499
__ mtlr (R0);
500
500
__ blr ();
501
501
}
@@ -554,11 +554,11 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
554
554
__ ld (Rcaller_sp, 0 , R1_SP);
555
555
__ push_frame_reg_args (0 , R0); // dummy frame for C call
556
556
__ mr (Rexception_save, Rexception); // save over C call
557
- __ ld (Rexception_pc, _abi (lr), Rcaller_sp); // return pc
557
+ __ ld (Rexception_pc, _abi0 (lr), Rcaller_sp); // return pc
558
558
__ call_VM_leaf (CAST_FROM_FN_PTR (address, SharedRuntime::exception_handler_for_return_address), R16_thread, Rexception_pc);
559
559
__ verify_not_null_oop (Rexception_save);
560
560
__ mtctr (R3_RET);
561
- __ ld (Rexception_pc, _abi (lr), Rcaller_sp); // return pc
561
+ __ ld (Rexception_pc, _abi0 (lr), Rcaller_sp); // return pc
562
562
__ mr (R1_SP, Rcaller_sp); // Pop both frames at once.
563
563
__ mr (Rexception, Rexception_save); // restore
564
564
__ mtlr (Rexception_pc);
@@ -730,7 +730,7 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
730
730
{
731
731
__ set_info (" unimplemented entry" , dont_gc_arguments);
732
732
__ mflr (R0);
733
- __ std (R0, _abi (lr), R1_SP);
733
+ __ std (R0, _abi0 (lr), R1_SP);
734
734
__ push_frame (frame::abi_reg_args_size, R0); // empty dummy frame
735
735
sasm->set_frame_size (frame::abi_reg_args_size / BytesPerWord);
736
736
OopMap* oop_map = new OopMap (frame::abi_reg_args_size / sizeof (jint), 0 );
@@ -766,12 +766,12 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler* sasm) {
766
766
// exception handler.
767
767
oop_map = generate_oop_map (sasm, true );
768
768
// Transfer the pending exception to the exception_oop.
769
- // Also load the PC which is typically at SP + frame_size_in_bytes + _abi (lr),
769
+ // Also load the PC which is typically at SP + frame_size_in_bytes +_abi0 (lr),
770
770
// but we support additional slots in the frame for parameter passing.
771
771
__ ld (Rexception_pc, 0 , R1_SP);
772
772
__ ld (Rexception, in_bytes (JavaThread::pending_exception_offset ()), R16_thread);
773
773
__ li (R0, 0 );
774
- __ ld (Rexception_pc, _abi (lr), Rexception_pc);
774
+ __ ld (Rexception_pc, _abi0 (lr), Rexception_pc);
775
775
__ std (R0, in_bytes (JavaThread::pending_exception_offset ()), R16_thread);
776
776
break ;
777
777
case handle_exception_nofpu_id:
@@ -783,7 +783,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler* sasm) {
783
783
// At this point all registers except exception oop and exception pc are dead.
784
784
oop_map = new OopMap (frame_size_in_bytes / sizeof (jint), 0 );
785
785
sasm->set_frame_size (frame_size_in_bytes / BytesPerWord);
786
- __ std (Rexception_pc, _abi (lr), R1_SP);
786
+ __ std (Rexception_pc, _abi0 (lr), R1_SP);
787
787
__ push_frame (frame_size_in_bytes, R0);
788
788
break ;
789
789
default : ShouldNotReachHere ();
@@ -826,7 +826,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler* sasm) {
826
826
break ;
827
827
case handle_exception_from_callee_id: {
828
828
__ pop_frame ();
829
- __ ld (Rexception_pc, _abi (lr), R1_SP);
829
+ __ ld (Rexception_pc, _abi0 (lr), R1_SP);
830
830
__ mtlr (Rexception_pc);
831
831
__ bctr ();
832
832
break ;
0 commit comments