Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2007 21:46:23 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/msun/amd64 fenv.h src/lib/msun/i387 fenv.h
Message-ID:  <200701062146.l06LkNm9080722@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2007-01-06 21:46:23 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/amd64       fenv.h 
    lib/msun/i387        fenv.h 
  Log:
  Fix a problem relating to fesetenv() clobbering i387 register stack.
  
  Details: As a side-effect of restoring a saved FP environment,
  fesetenv() overwrites the tag word, which indicates which i387
  registers are in use.  Normally this isn't a problem because
  the calling convention requires the register stack to be empty
  on function entry and exit.  However, fesetenv() is inlined, so we
  need to tell gcc explicitly that the i387 registers get clobbered.
  
  PR:     85101
  
  Revision  Changes    Path
  1.6       +12 -1     src/lib/msun/amd64/fenv.h
  1.6       +12 -1     src/lib/msun/i387/fenv.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701062146.l06LkNm9080722>