src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp

Print this page




1013   st->print("EBP="); print_location(st, uc->context_ebp);
1014   st->print("ESI="); print_location(st, uc->context_esi);
1015   st->print("EDI="); print_location(st, uc->context_edi);
1016 #endif // AMD64
1017 
1018   st->cr();
1019 }
1020 
1021 void os::setup_fpu() {
1022 #ifndef AMD64
1023   address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std();
1024   __asm__ volatile (  "fldcw (%0)" :
1025                       : "r" (fpu_cntrl) : "memory");
1026 #endif // !AMD64
1027 }
1028 
1029 #ifndef PRODUCT
1030 void os::verify_stack_alignment() {
1031 }
1032 #endif







1013   st->print("EBP="); print_location(st, uc->context_ebp);
1014   st->print("ESI="); print_location(st, uc->context_esi);
1015   st->print("EDI="); print_location(st, uc->context_edi);
1016 #endif // AMD64
1017 
1018   st->cr();
1019 }
1020 
1021 void os::setup_fpu() {
1022 #ifndef AMD64
1023   address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std();
1024   __asm__ volatile (  "fldcw (%0)" :
1025                       : "r" (fpu_cntrl) : "memory");
1026 #endif // !AMD64
1027 }
1028 
1029 #ifndef PRODUCT
1030 void os::verify_stack_alignment() {
1031 }
1032 #endif
1033 
1034 int os::extra_bang_size_in_bytes() {
1035   // JDK-8050147 requires the full cache line bang for x86.
1036   return VM_Version::L1_line_size();
1037 }