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

Fixed a bug in %subtract-with-borrow.

parent 52befce9
No related branches found
No related tags found
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/arith.lisp,v 1.21 1990/05/18 10:45:39 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/arith.lisp,v 1.22 1990/05/19 09:40:26 wlott Exp $
;;; ;;;
;;; This file contains the VM definition arithmetic VOPs for the MIPS. ;;; This file contains the VM definition arithmetic VOPs for the MIPS.
;;; ;;;
...@@ -648,12 +648,12 @@ ...@@ -648,12 +648,12 @@
(inst bne c no-borrow-in) (inst bne c no-borrow-in)
(inst subu res a b) (inst subu res a b)
(inst subu res 1)
(inst b done) (inst b done)
(inst sltu borrow a b) (inst sltu borrow b a)
(emit-label no-borrow-in) (emit-label no-borrow-in)
(inst subu res 1) (inst sltu borrow a b)
(inst sltu borrow b a)
(inst xor borrow 1) (inst xor borrow 1)
(emit-label done) (emit-label done)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment