Changeset 9455


Ignore:
Timestamp:
May 12, 2008, 6:29:31 PM (11 years ago)
Author:
rme
Message:

Add x87 FPU instruction FSTP. This will be used by the x8632 port to
get floating point values returned by foreign code.

The i386 ABI says that floating point values are returned on the top
of the x87 stack, and must be popped by the caller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/compiler/X86/x86-asm.lisp

    r8630 r9455  
    32963296
    32973297;;; End of list of useful mmx instructions
     3298
     3299;;; x87 fpu instructions
     3300
     3301   ;; fstp
     3302   (def-x86-opcode fstps ((:anymem :insert-memory))
     3303     #xd9 #o030 nil)
     3304   (def-x86-opcode fstpl ((:anymem :insert-memory))
     3305     #xdd #o030 nil)
     3306
     3307;;; end of x87 fpu instructions
     3308
    32983309   (def-x86-opcode ldmxcsr ((:anymem :insert-memory))
    32993310     #x0fae #o020 nil)
Note: See TracChangeset for help on using the changeset viewer.