< prev index next >

src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp

Print this page
rev 13069 : imported patch ClearFPUAtPark


 708   st->print("L5="); print_location(st, sp[L5->sp_offset_in_saved_window()]);
 709   st->print("L6="); print_location(st, sp[L6->sp_offset_in_saved_window()]);
 710   st->print("L7="); print_location(st, sp[L7->sp_offset_in_saved_window()]);
 711   st->cr();
 712 
 713   st->print("I0="); print_location(st, sp[I0->sp_offset_in_saved_window()]);
 714   st->print("I1="); print_location(st, sp[I1->sp_offset_in_saved_window()]);
 715   st->print("I2="); print_location(st, sp[I2->sp_offset_in_saved_window()]);
 716   st->print("I3="); print_location(st, sp[I3->sp_offset_in_saved_window()]);
 717   st->print("I4="); print_location(st, sp[I4->sp_offset_in_saved_window()]);
 718   st->print("I5="); print_location(st, sp[I5->sp_offset_in_saved_window()]);
 719   st->print("I6="); print_location(st, sp[I6->sp_offset_in_saved_window()]);
 720   st->print("I7="); print_location(st, sp[I7->sp_offset_in_saved_window()]);
 721   st->cr();
 722 }
 723 
 724 void os::Solaris::init_thread_fpu_state(void) {
 725     // Nothing needed on Sparc.
 726 }
 727 
 728 #if defined(__sparc) && defined(COMPILER2) && defined(_GNU_SOURCE)
 729  // See file build/solaris/makefiles/$compiler.make
 730  // For compiler1 the architecture is v8 and frps isn't present in v8
 731  extern "C"  void _mark_fpu_nosave() {
 732    __asm__ __volatile__ ("wr %%g0, 0, %%fprs \n\t" : : :);
 733   }
 734 #endif //defined(__sparc) && defined(COMPILER2)
 735 
 736 #ifndef PRODUCT
 737 void os::verify_stack_alignment() {
 738 }
 739 #endif
 740 
 741 int os::extra_bang_size_in_bytes() {
 742   // SPARC does not require an additional stack bang.
 743   return 0;
 744 }


 708   st->print("L5="); print_location(st, sp[L5->sp_offset_in_saved_window()]);
 709   st->print("L6="); print_location(st, sp[L6->sp_offset_in_saved_window()]);
 710   st->print("L7="); print_location(st, sp[L7->sp_offset_in_saved_window()]);
 711   st->cr();
 712 
 713   st->print("I0="); print_location(st, sp[I0->sp_offset_in_saved_window()]);
 714   st->print("I1="); print_location(st, sp[I1->sp_offset_in_saved_window()]);
 715   st->print("I2="); print_location(st, sp[I2->sp_offset_in_saved_window()]);
 716   st->print("I3="); print_location(st, sp[I3->sp_offset_in_saved_window()]);
 717   st->print("I4="); print_location(st, sp[I4->sp_offset_in_saved_window()]);
 718   st->print("I5="); print_location(st, sp[I5->sp_offset_in_saved_window()]);
 719   st->print("I6="); print_location(st, sp[I6->sp_offset_in_saved_window()]);
 720   st->print("I7="); print_location(st, sp[I7->sp_offset_in_saved_window()]);
 721   st->cr();
 722 }
 723 
 724 void os::Solaris::init_thread_fpu_state(void) {
 725     // Nothing needed on Sparc.
 726 }
 727 








 728 #ifndef PRODUCT
 729 void os::verify_stack_alignment() {
 730 }
 731 #endif
 732 
 733 int os::extra_bang_size_in_bytes() {
 734   // SPARC does not require an additional stack bang.
 735   return 0;
 736 }
< prev index next >