Changeset 10739


Ignore:
Timestamp:
Sep 15, 2008, 7:52:56 AM (11 years ago)
Author:
gb
Message:

Add a vinsn to get a 64-bit ff-call result (%edx saved in tcr.unoxed1:
%eax) to %mm0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/compiler/X86/X8632/x8632-vinsns.lisp

    r10561 r10739  
    17471747  (movl (:@ (:%seg :rcontext) x8632::tcr.foreign-sp) (:%l temp))
    17481748  (movsd (:@ (:apply + 8 (:apply ash offset 2)) (:%l temp)) (:%xmm arg)))
     1749
     1750;;; .SPffcall has stored %edx in tcr.unboxed1.  Load %mm0 with a
     1751;;; 64-bit value composed from %edx:%eax.
     1752(define-x8632-vinsn get-64-bit-ffcall-result (()
     1753                                              ())
     1754  (movl (:%l x8632::eax) (:@ (:%seg :rcontext) x8632::tcr.unboxed0))
     1755  (movd (:@ (:%seg :rcontext) x8632::tcr.unboxed0) (:%mmx x8632::mm0)))
    17491756
    17501757(define-x8632-subprim-call-vinsn (ff-call)  .SPffcall)
Note: See TracChangeset for help on using the changeset viewer.