Ignore:
Timestamp:
Jun 27, 2001, 5:34:42 PM (24 years ago)
Author:
sandervl
Message:

hack for weird fpu performance issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winexebase.cpp

    r6129 r6132  
    1 /* $Id: winexebase.cpp,v 1.16 2001-06-27 13:35:46 sandervl Exp $ */
     1/* $Id: winexebase.cpp,v 1.17 2001-06-27 15:34:42 sandervl Exp $ */
    22
    33/*
     
    110110  SetWin32TIB();
    111111
    112   //Reset FPU to default values (control word 0x27F; same as in NT)
    113   _fpreset();
     112  //SvL: Leave this here. For some weird reason this affects performance
     113  //     of floating point apps. (at least for one fortan benchmark)
     114  double tmp;
     115  //Set FPU control word to 0x27F (same as in NT)
     116  CONTROL87(0x27F, 0xFFF);
    114117  dprintf(("KERNEL32: Win32ExeBase::start exe at %08xh\n",
    115118          (void*)entryPoint ));
Note: See TracChangeset for help on using the changeset viewer.