From d6a21ce2ddcf5ae468227b64859311560cf07382 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Thu, 15 Mar 1990 19:38:46 +0000 Subject: [PATCH] Made FIXNUMP vop translate FIXNUMP. --- compiler/mips/type-vops.lisp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/mips/type-vops.lisp b/compiler/mips/type-vops.lisp index bb1ce0b8c..d02aba939 100644 --- a/compiler/mips/type-vops.lisp +++ b/compiler/mips/type-vops.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/type-vops.lisp,v 1.5 1990/03/13 16:55:36 ch Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/type-vops.lisp,v 1.6 1990/03/15 19:38:46 wlott Exp $ ;;; ;;; This file contains the VM definition of type testing and checking VOPs ;;; for the RT. @@ -117,8 +117,11 @@ (inst bne temp zero-tn err-lab) (move result value t)))) +(primitive-type-vop check-fixnum (:check) fixnum) + (define-vop (fixnump simple-type-predicate) (:ignore type-code) + (:translate ext:fixnump) (:generator 3 (inst andi temp value #x3) (if not-p @@ -126,8 +129,6 @@ (inst beq temp zero-tn target)) (nop))) -(primitive-type-vop check-fixnum (:check) fixnum) - ;;;; Hairy type tests: ;;; -- GitLab