Changeset 315
- Timestamp:
- Feb 15, 2012, 5:20:05 PM (13 years ago)
- Location:
- trunk/openjdk/hotspot/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/hotspot/src/cpu/x86/vm/jni_x86.h
r309 r315 46 46 47 47 typedef int jint; 48 #ifdef __EMX__48 #ifdef TARGET_COMPILER_gcc 49 49 typedef __int64_t jlong; 50 50 #else -
trunk/openjdk/hotspot/src/os/os2/vm/os_os2_init.cpp
r246 r315 33 33 34 34 #include <types.h> 35 #ifdef __EMX__35 #ifdef TARGET_COMPILER_gcc 36 36 #include <emx/startup.h> 37 37 #endif … … 58 58 switch (ulFlag) { 59 59 case 0 : 60 #ifdef __EMX__60 #ifdef TARGET_COMPILER_gcc 61 61 // initialize the C library 62 62 if (_CRT_init()) … … 85 85 UnregisterLxDll(dllHandle); 86 86 } 87 #ifdef __EMX__87 #ifdef TARGET_COMPILER_gcc 88 88 // destroy C++ statics 89 89 __ctordtorTerm(); -
trunk/openjdk/hotspot/src/os/windows/vm/attachListener_windows.cpp
r309 r315 151 151 152 152 public: 153 #ifdef __EMX__153 #ifdef TARGET_COMPILER_gcc 154 154 void complete(jint result, bufferedStream* result_stream); 155 155 #else -
trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp
r309 r315 3499 3499 void *code_ptr = (void *)code; 3500 3500 __try { 3501 #ifdef __EMX__3501 #ifdef TARGET_COMPILER_gcc 3502 3502 __asm__("call *%0" : : "m"(code_ptr)); 3503 3503 #else … … 3606 3606 #ifndef _WIN64 3607 3607 static long fp_control_word = 0; 3608 #ifdef __EMX__3608 #ifdef TARGET_COMPILER_gcc 3609 3609 __asm__("fstcw %0" : "=m"(fp_control_word)); 3610 3610 #else … … 3619 3619 const long invalid = 0x01; 3620 3620 fp_control_word |= invalid; 3621 #ifdef __EMX__3621 #ifdef TARGET_COMPILER_gcc 3622 3622 __asm__("fldcw %0" : : "m"(fp_control_word)); 3623 3623 #else -
trunk/openjdk/hotspot/src/os/windows/vm/os_windows.inline.hpp
r313 r315 43 43 inline const char* os::dll_file_extension() { return ".dll"; } 44 44 45 #ifdef __EMX__45 #ifdef TARGET_COMPILER_gcc 46 46 inline const char* os::jlong_format_specifier() { return "%lld"; } 47 47 inline const char* os::julong_format_specifier() { return "%llu"; } -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/os_windows_x86.cpp
r309 r315 93 93 if ( ThreadLocalStorage::get_thread_ptr_offset() == 0 ) { 94 94 int thread_ptr_offset; 95 #ifdef __EMX__95 #ifdef TARGET_COMPILER_gcc 96 96 __asm__("leal %1, %%eax; " 97 97 "subl %%fs:0, %%eax; " … … 113 113 else { 114 114 int test_thread_ptr_offset; 115 #ifdef __EMX__115 #ifdef TARGET_COMPILER_gcc 116 116 __asm__("leal %1, %%eax; " 117 117 "subl %%fs:0, %%eax; " … … 389 389 intptr_t* _get_previous_fp() { 390 390 intptr_t **frameptr; 391 #ifdef __EMX__391 #ifdef TARGET_COMPILER_gcc 392 392 __asm("movl %%ebp, %0" : "=m"(frameptr)); 393 393 #else … … 551 551 // On systems that don't support pause a rep:nop 552 552 // is executed as a nop. The rep: prefix is ignored. 553 #ifdef __EMX__553 #ifdef TARGET_COMPILER_gcc 554 554 __asm__("pause; "); 555 555 #else … … 566 566 #ifndef AMD64 567 567 int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std(); 568 #ifdef __EMX__568 #ifdef TARGET_COMPILER_gcc 569 569 __asm__("fldcw %0; " : : "m"(fpu_cntrl_word)); 570 570 #else -
trunk/openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp
r309 r315 240 240 inline address_word castable_address(void* x) { return address_word(x) ; } 241 241 242 #ifdef __EMX__242 #ifdef TARGET_COMPILER_gcc 243 243 // GCC 4.4.4 forbids implicit cast from function pointers to void* 244 244 template <class T>
Note:
See TracChangeset
for help on using the changeset viewer.