529 #ifdef AMD64
530 return 0 ;
531 #else
532 // pause == rep:nop
533 // On systems that don't support pause a rep:nop
534 // is executed as a nop. The rep: prefix is ignored.
535 _asm {
536 pause ;
537 };
538 return 1 ;
539 #endif // AMD64
540 }
541
542
543 void os::setup_fpu() {
544 #ifndef AMD64
545 int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std();
546 __asm fldcw fpu_cntrl_word;
547 #endif // !AMD64
548 }
|
529 #ifdef AMD64
530 return 0 ;
531 #else
532 // pause == rep:nop
533 // On systems that don't support pause a rep:nop
534 // is executed as a nop. The rep: prefix is ignored.
535 _asm {
536 pause ;
537 };
538 return 1 ;
539 #endif // AMD64
540 }
541
542
543 void os::setup_fpu() {
544 #ifndef AMD64
545 int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std();
546 __asm fldcw fpu_cntrl_word;
547 #endif // !AMD64
548 }
549
550 #ifndef PRODUCT
551 void os::verify_stack_alignment() {
552 }
553 #endif
|