Changeset 726
- Timestamp:
- Mar 25, 2004, 5:13:46 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-0/PPC/ppc-float.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-0/PPC/ppc-float.lisp
r508 r726 546 546 (blr)) 547 547 548 ; Set the low 8 bits of the FPSCR ; leave the high 24 unchanged548 ; Set the low 8 bits of the FPSCR. Zero the upper 24 bits 549 549 (defppclapfunction %set-fpscr-control ((new arg_z)) 550 550 (unbox-fixnum imm0 new) 551 (stwu tsp -16 tsp) 552 (stw tsp 4 tsp) 551 (clrlwi imm0 imm0 24) ; ensure that "status" fields are clear 553 552 (stw imm0 target::tcr.lisp-fpscr-low rcontext) 554 553 (lfd fp0 target::tcr.lisp-fpscr-high rcontext) 555 (mtfsf #x 03 fp0) ; set control fields [6-7]554 (mtfsf #xff fp0) ; set all fields [0-7] 556 555 (blr)) 557 556
Note:
See TracChangeset
for help on using the changeset viewer.
