Ignore:
Timestamp:
Feb 15, 2012, 5:20:05 PM (14 years ago)
Author:
dmik
Message:

Use TARGET_COMPILER_gcc instead of EMX when appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/os_windows_x86.cpp

    r309 r315  
    9393    if ( ThreadLocalStorage::get_thread_ptr_offset() == 0 ) {
    9494      int thread_ptr_offset;
    95 #ifdef __EMX__
     95#ifdef TARGET_COMPILER_gcc
    9696      __asm__("leal %1, %%eax; "
    9797              "subl %%fs:0, %%eax; "
     
    113113    else {
    114114      int test_thread_ptr_offset;
    115 #ifdef __EMX__
     115#ifdef TARGET_COMPILER_gcc
    116116      __asm__("leal %1, %%eax; "
    117117              "subl %%fs:0, %%eax; "
     
    389389intptr_t* _get_previous_fp() {
    390390  intptr_t **frameptr;
    391 #ifdef __EMX__
     391#ifdef TARGET_COMPILER_gcc
    392392  __asm("movl %%ebp, %0" : "=m"(frameptr));
    393393#else
     
    551551   // On systems that don't support pause a rep:nop
    552552   // is executed as a nop.  The rep: prefix is ignored.
    553 #ifdef __EMX__
     553#ifdef TARGET_COMPILER_gcc
    554554   __asm__("pause; ");
    555555#else
     
    566566#ifndef AMD64
    567567  int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std();
    568 #ifdef __EMX__
     568#ifdef TARGET_COMPILER_gcc
    569569  __asm__("fldcw %0; " : : "m"(fpu_cntrl_word));
    570570#else 
Note: See TracChangeset for help on using the changeset viewer.