src/os_cpu/windows_x86/vm/os_windows_x86.cpp

Print this page




 622    };
 623    return 1 ;
 624 #endif // AMD64
 625 }
 626 
 627 
 628 void os::setup_fpu() {
 629 #ifndef AMD64
 630   int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std();
 631   __asm fldcw fpu_cntrl_word;
 632 #endif // !AMD64
 633 }
 634 
 635 #ifndef PRODUCT
 636 void os::verify_stack_alignment() {
 637 #ifdef AMD64
 638   assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment");
 639 #endif
 640 }
 641 #endif







 622    };
 623    return 1 ;
 624 #endif // AMD64
 625 }
 626 
 627 
 628 void os::setup_fpu() {
 629 #ifndef AMD64
 630   int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std();
 631   __asm fldcw fpu_cntrl_word;
 632 #endif // !AMD64
 633 }
 634 
 635 #ifndef PRODUCT
 636 void os::verify_stack_alignment() {
 637 #ifdef AMD64
 638   assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment");
 639 #endif
 640 }
 641 #endif
 642 
 643 int os::extra_bang_size_in_bytes() {
 644   // JDK-8050147 requires the full cache line bang for x86.
 645   return VM_Version::L1_line_size();
 646 }