From 41e340f23181902f11960c7a4eaa3be18fc4c6f1 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 10 Nov 2009 17:26:34 -0600 Subject: [PATCH] More PowerPC fixes --- basis/alien/c-types/c-types.factor | 2 +- basis/cpu/ppc/bootstrap.factor | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/alien/c-types/c-types.factor b/basis/alien/c-types/c-types.factor index cfbed5378d..2d93588d2b 100755 --- a/basis/alien/c-types/c-types.factor +++ b/basis/alien/c-types/c-types.factor @@ -463,8 +463,8 @@ SYMBOLS: 1 >>align "box_boolean" >>boxer "to_boolean" >>unboxer - \ bool define-primitive-type ] if + \ bool define-primitive-type math:float >>class diff --git a/basis/cpu/ppc/bootstrap.factor b/basis/cpu/ppc/bootstrap.factor index e987a35aa8..7e7de6d4bc 100644 --- a/basis/cpu/ppc/bootstrap.factor +++ b/basis/cpu/ppc/bootstrap.factor @@ -470,7 +470,7 @@ CONSTANT: rs-reg 14 [ 3 ds-reg 0 LWZ - 3 3 1 SRAWI + 3 3 2 SRAWI rs-reg 3 3 LWZX 3 ds-reg 0 STW ] \ get-local define-sub-primitive @@ -478,7 +478,7 @@ CONSTANT: rs-reg 14 [ 3 ds-reg 0 LWZ ds-reg ds-reg 4 SUBI - 3 3 1 SRAWI + 3 3 2 SRAWI rs-reg 3 rs-reg SUBF ] \ drop-locals define-sub-primitive