cvs commit: src/lib/msun/amd64 fenv.h src/lib/msun/i387 fenv.h

David Schultz das at
Sat Jan 6 13:46:24 PST 2007

das         2007-01-06 21:46:23 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/amd64       fenv.h 
    lib/msun/i387        fenv.h 
  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

More information about the cvs-src mailing list