Changeset 8357


Ignore:
Timestamp:
Jan 29, 2008, 10:09:03 PM (12 years ago)
Author:
rme
Message:

Make nargs 32 bits; define subtagmask; define default-node-regs-mask;
remove save0-save3 from definition of TCR (we don't have any non-volatile
caller-saved regs on x8632).

File:
1 edited

Legend:

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

    r8255 r8357  
    114114(defx86reg imm0.w ax)
    115115(defx86reg imm0.b al)
    116 (defx86reg nargs ax)
    117 (defx86reg nargs.l eax)
     116(defx86reg nargs.w ax)
     117(defx86reg nargs eax)
    118118
    119119(defx86reg temp0 ecx)
     
    180180(defconstant nfixnumtagbits 2)
    181181(defconstant num-subtag-bits 8)
     182(defconstant subtagmask 255)
    182183(defconstant fixnumshift 2)
    183184(defconstant fixnum-shift 2)
     
    201202(defconstant target-most-negative-fixnum (ash -1 (1- (- nbits-in-word nfixnumtagbits))))
    202203(defconstant target-most-positive-fixnum (1- (ash 1 (1- (- nbits-in-word nfixnumtagbits)))))
     204
     205;;; bits correspond to reg encoding used in instructions
     206;;;  7   6   5   4   3   2   1   0
     207;;; edi esi ebp esp ebx edx ecx eax
     208
     209(defconstant default-node-regs-mask #b11001110)
    203210
    204211;;; 2-bit "lisptag" values
     
    432439  foreign-sp
    433440  db-link                               ; value of dynamic-binding link on thread entry.
    434   save-save3                            ; saved nvrs (probably won't have any)
    435   save-save2
    436   save-save1
    437   save-save0
    438441  xframe                                ; exception-frame link
    439442  pc                                    ; tra of catch exit/unwind cleanup
Note: See TracChangeset for help on using the changeset viewer.