Changeset 9588


Ignore:
Timestamp:
May 24, 2008, 3:49:17 AM (11 years ago)
Author:
rme
Message:

Remove kludge from SPffcall that looked at the state of the x87 fpu to
determine whether to pop the result and put it in xmm0.

(The compiler now emits code to handle this.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/lisp-kernel/x86-spentry32.s

    r9548 r9588  
    27772777
    27782778_startfn(C(destbind1))
     2779        __(int $3)
    27792780        __(jmp *%ra0)
    27802781_endfn(C(destbind1))
     
    37613762LocalLabelPrefix[]ffcall_call:
    37623763        __(call *%eax)
    3763         /* This kludge pops st(0) and puts it into xmm0. */
    3764         /* It will probably be better to do this in the ffcall */
    3765         /* operator in the compiler, since it will know what the */
    3766         /* result type should be. */
    3767         __(subl $28,%esp)
    3768         __(fnstenv (%esp))
    3769         __(movzwl 8(%esp),%ebx)
    3770         __(addl $28,%esp)
    3771         __(testb $3,%bl)
    3772         __(jne 1f)
    3773         __(subl $8,%esp)
    3774         __(fstpl (%esp))
    3775         __(movsd (%esp),%xmm0)
    3776         __(addl $8,%esp)
    3777 1:             
    37783764LocalLabelPrefix[]ffcall_call_end:
    37793765        __(movl %ebp,%esp)
Note: See TracChangeset for help on using the changeset viewer.