Skip to content
Snippets Groups Projects
Commit 3b1b3643 authored by wlott's avatar wlott
Browse files

Now that the error symbol doesn't get evaluated, we can't pass it in as

a variant var.
parent 7afdd163
Branches
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC). ;;; Scott Fahlman (FAHLMAN@CMUC).
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/system.lisp,v 1.22 1990/06/04 05:23:44 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/system.lisp,v 1.23 1990/06/04 05:53:31 wlott Exp $
;;; ;;;
;;; MIPS VM definitions of various system hacking operations. ;;; MIPS VM definitions of various system hacking operations.
;;; ;;;
...@@ -51,19 +51,19 @@ ...@@ -51,19 +51,19 @@
(:args (x :scs (any-reg descriptor-reg)) (:args (x :scs (any-reg descriptor-reg))
(y :scs (any-reg descriptor-reg))) (y :scs (any-reg descriptor-reg)))
(:temporary (:type random :scs (non-descriptor-reg)) temp) (:temporary (:type random :scs (non-descriptor-reg)) temp)
(:variant-vars condition not-p error) (:policy :fast-safe))
(:policy :fast-safe)
(:generator 3
(let ((target (generate-error-code error x y)))
(three-way-comparison x y condition :signed not-p target temp))))
(define-vop (check<= check-op) (define-vop (check<= check-op)
(:variant :gt t not-<=-error) (:translate check<=)
(:translate check<=)) (:generator 3
(let ((target (generate-error-code not-<=-error x y)))
(three-way-comparison x y :gt :signed t target temp))))
(define-vop (check= check-op) (define-vop (check= check-op)
(:variant :eq nil not-=-error) (:translate check=)
(:translate check=)) (:generator 3
(let ((target (generate-error-code not-=-error x y)))
(three-way-comparison x y :eq :signed nil target temp))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment