From dae41147fe32b4555440ea7ecf3c71dc0520cbc3 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Wed, 5 Nov 2008 04:16:08 -0600 Subject: [PATCH] %bignum>integer now takes a temporary register since this is useful on both x86 and ppc --- basis/compiler/codegen/codegen.factor | 2 +- basis/cpu/architecture/architecture.factor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/compiler/codegen/codegen.factor b/basis/compiler/codegen/codegen.factor index 7dca752cf7..0d36a88b45 100644 --- a/basis/compiler/codegen/codegen.factor +++ b/basis/compiler/codegen/codegen.factor @@ -152,7 +152,7 @@ M: ##not generate-insn dst/src %not ; [ dst/src ] [ temp>> register ] bi ; inline M: ##integer>bignum generate-insn dst/src/temp %integer>bignum ; -M: ##bignum>integer generate-insn dst/src %bignum>integer ; +M: ##bignum>integer generate-insn dst/src/temp %bignum>integer ; M: ##add-float generate-insn dst/src1/src2 %add-float ; M: ##sub-float generate-insn dst/src1/src2 %sub-float ; diff --git a/basis/cpu/architecture/architecture.factor b/basis/cpu/architecture/architecture.factor index 618be9a11f..c86f236976 100644 --- a/basis/cpu/architecture/architecture.factor +++ b/basis/cpu/architecture/architecture.factor @@ -76,7 +76,7 @@ HOOK: %sar-imm cpu ( dst src1 src2 -- ) HOOK: %not cpu ( dst src -- ) HOOK: %integer>bignum cpu ( dst src temp -- ) -HOOK: %bignum>integer cpu ( dst src -- ) +HOOK: %bignum>integer cpu ( dst src temp -- ) HOOK: %add-float cpu ( dst src1 src2 -- ) HOOK: %sub-float cpu ( dst src1 src2 -- )