Changeset 8214
- Timestamp:
- Jan 17, 2008, 10:03:26 PM (17 years ago)
- File:
-
- 1 edited
-
branches/ia32/level-0/X86/X8632/x8632-float.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ia32/level-0/X86/X8632/x8632-float.lisp
r7988 r8214 252 252 (single-value-return)) 253 253 254 (defx86 lapfunction %int-to-dfloat ((int arg_y) (dfloat arg_z))254 (defx8632lapfunction %int-to-dfloat ((int arg_y) (dfloat arg_z)) 255 255 (int-to-double int imm0 fp1) 256 256 (put-double-float fp1 arg_z) … … 275 275 ;;; on the safe side, mask the arg with X86::MXCSR-WRITE-MASK, 276 276 ;;; so that only known control and status bits are written to. 277 (defx86 lapfunction %set-mxcsr ((val arg_z))277 (defx8632lapfunction %set-mxcsr ((val arg_z)) 278 278 (unbox-fixnum val imm0) 279 279 (andl ($ x86::mxcsr-write-mask) (% imm0)) … … 282 282 (single-value-return)) 283 283 284 ;;; Return the MXCSR value in effect after the last ff-call.285 (defx8632lapfunction %get-post-ffi-mxcsr ()286 (xor (% arg_z) (% arg_z))287 (movl (@ (% :rcontext) x8664::tcr.ffi-exception) (%l imm0))288 (movl (%l arg_z) (@ (% :rcontext) x8664::tcr.ffi-exception))289 (box-fixnum imm0 arg_z)290 (single-value-return))291 284 292 285 ;;; Get the bits that contain exception masks and rounding mode. … … 312 305 313 306 ;;; Return the MXCSR value in effect after the last ff-call. 314 (defx86 lapfunction %get-post-ffi-mxcsr ()307 (defx8632lapfunction %get-post-ffi-mxcsr () 315 308 (xor (% arg_z) (% arg_z)) 316 (movl (@ (% :rcontext) x86 64::tcr.ffi-exception) (%l imm0))317 (movl (%l arg_z) (@ (% :rcontext) x86 64::tcr.ffi-exception))309 (movl (@ (% :rcontext) x8632::tcr.ffi-exception) (%l imm0)) 310 (movl (%l arg_z) (@ (% :rcontext) x8632::tcr.ffi-exception)) 318 311 (box-fixnum imm0 arg_z) 319 312 (single-value-return))
Note:
See TracChangeset
for help on using the changeset viewer.
