Changeset 8075


Ignore:
Timestamp:
Jan 14, 2008, 7:09:36 PM (17 years ago)
Author:
R. Matthew Emerson
Message:

Try to get misc-dfloat-offset right; add scratch-mxcsr field to TCR.

The MXCSR fits in a 32 bit word, but must be read and written through
memory. On x86-64, we can put it in the upper part of a fixnum on the
stack, but that's not an option on IA-32, of course.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/compiler/X86/X8632/x8632-arch.lisp

    r7962 r8075  
    347347(defconstant misc-subtag-offset misc-header-offset)
    348348(defconstant misc-data-offset (+ misc-header-offset node-size))
    349 (defconstant misc-dfloat-offset ( + misc-data-offset 8))
     349(defconstant misc-dfloat-offset ( + misc-header-offset 8))
    350350
    351351(defconstant max-64-bit-constant-index (ash (+ #x7fff x8632::misc-dfloat-offset) -3))
     
    601601  ldt-index
    602602  ldt-selector
     603  scratch-mxcsr                         ;used for reading/writing mxcsr
    603604)
    604605
Note: See TracChangeset for help on using the changeset viewer.