X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fassembly%2Fppc%2Farith.lisp;h=c19a9015833b210583f95b91bb132255508e334f;hb=5da5805594423a2d2a841b88617fd2c87fc05750;hp=8cb8c42bb5e719344fab87d28b53ab584c0f0518;hpb=cab2c71bb1bb8a575d9eebdae335e731daa64183;p=sbcl.git diff --git a/src/assembly/ppc/arith.lisp b/src/assembly/ppc/arith.lisp index 8cb8c42..c19a901 100644 --- a/src/assembly/ppc/arith.lisp +++ b/src/assembly/ppc/arith.lisp @@ -31,7 +31,7 @@ (:temp ocfp any-reg ocfp-offset)) ; Clear the damned "sticky overflow" bit in :cr0 and :xer - (inst mcrxr :cr0) + (inst mtxer zero-tn) (inst or temp x y) (inst andi. temp temp 3) (inst bne DO-STATIC-FUN) @@ -77,7 +77,7 @@ (:temp ocfp any-reg ocfp-offset)) ; Clear the damned "sticky overflow" bit in :cr0 - (inst mcrxr :cr0) + (inst mtxer zero-tn) (inst or temp x y) (inst andi. temp temp 3) @@ -130,7 +130,7 @@ (:temp ocfp any-reg ocfp-offset)) ;; If either arg is not a fixnum, call the static function. But first ... - (inst mcrxr :cr0) + (inst mtxer zero-tn) (inst or temp x y) (inst andi. temp temp 3) @@ -219,7 +219,7 @@ (:res quo any-reg nl2-offset) (:res rem any-reg nl0-offset)) - (assert (location= rem dividend)) + (aver (location= rem dividend)) (let ((error (generate-error-code nil division-by-zero-error dividend divisor))) (inst cmpwi divisor 0) @@ -244,7 +244,7 @@ (:res quo any-reg nl2-offset) (:res rem any-reg nl0-offset)) - (assert (location= rem dividend)) + (aver (location= rem dividend)) (let ((error (generate-error-code nil division-by-zero-error dividend divisor))) (inst cmpwi divisor 0)