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

Fixed move-from-unsigned to actually treat the value as unsigned instead of

signed.  It was producing negative fixnums when the high three bits were
set (which should result in a 32-bit bignum).
parent 3b776520
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.30 1992/07/28 20:37:37 wlott Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.31 1992/08/03 15:12:23 wlott Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -248,7 +248,7 @@
(:note "unsigned word to integer coercion")
(:generator 20
(move x arg)
(inst sra temp x 29)
(inst srl temp x 29)
(inst beq temp done)
(inst sll y x 2)
......
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