Mercurial > hg > graal-compiler
comparison src/os_cpu/linux_x86/vm/os_linux_x86.cpp @ 6275:957c266d8bc5
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 21 Aug 2012 10:39:19 +0200 |
parents | 70aaaa83b93a da4be62fb889 |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
5891:fd8832ae511d | 6275:957c266d8bc5 |
---|---|
879 address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std(); | 879 address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std(); |
880 __asm__ volatile ( "fldcw (%0)" : | 880 __asm__ volatile ( "fldcw (%0)" : |
881 : "r" (fpu_cntrl) : "memory"); | 881 : "r" (fpu_cntrl) : "memory"); |
882 #endif // !AMD64 | 882 #endif // !AMD64 |
883 } | 883 } |
884 | |
885 #ifndef PRODUCT | |
886 void os::verify_stack_alignment() { | |
887 #ifdef AMD64 | |
888 assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment"); | |
889 #endif | |
890 } | |
891 #endif |