Changeset 560


Ignore:
Timestamp:
Feb 23, 2004, 9:18:18 AM (21 years ago)
Author:
Gary Byers
Message:

Bugs in PPC2-%SET-BIT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/PPC/ppc2.lisp

    r371 r560  
    70067006              (when vreg
    70077007                (ppc2-form seg vreg nil newval)))
    7008             (ensuring-node-target (target vreg)
    7009                (unless triv-val
    7010                  (! temp-push-unboxed-word src)
    7011                  (ppc2-open-undo $undostkblk))
    7012                (ppc2-form seg target nil newval)
    7013                (unless triv-val
    7014                  (! temp-push-unboxed-word src)
    7015                  (ppc2-open-undo $undostkblk))
    7016                (! mem-set-c-bit src byte-index (+ 24 bit-index) target))))
     7008            (progn
     7009              (unless triv-val
     7010                (! temp-push-unboxed-word src)
     7011                (ppc2-open-undo $undostkblk))
     7012              (let* ((target (ppc2-one-untargeted-reg-form seg newval ppc::arg_z)))
     7013                (unless triv-val
     7014                  (! temp-pop-unboxed-word src)
     7015                  (ppc2-close-undo))
     7016                (! mem-set-c-bit src byte-index (+ 24 bit-index) target)
     7017                (<- target)))))
    70177018        (progn
    70187019          (unless (and triv-val triv-offset)
Note: See TracChangeset for help on using the changeset viewer.