Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
646c7ec8
Commit
646c7ec8
authored
Sep 04, 1992
by
wlott
Browse files
Don't have branches in branch delay slots.
parent
c4f89427
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/mips/type-vops.lisp
View file @
646c7ec8
...
...
@@ -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/type-vops.lisp,v 1.3
6
1992/0
8/16
1
6
:1
5:58
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/type-vops.lisp,v 1.3
7
1992/0
9/04
1
1
:1
6:47
wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -441,7 +441,10 @@
;;; and the second digit all zeros.
(
defun
unsigned-byte-32-test
(
value
temp
not-p
target
not-target
)
(
let
((
nope
(
if
not-p
target
not-target
)))
(
multiple-value-bind
(
yep
nope
)
(
if
not-p
(
values
not-target
target
)
(
values
target
not-target
))
(
assemble
()
;; Is it a fixnum?
(
inst
and
temp
value
3
)
...
...
@@ -465,13 +468,9 @@
;; Get the second digit.
(
loadw
temp
value
(
1+
bignum-digits-offset
)
other-pointer-type
)
;; All zeros, its an (unsigned-byte 32).
(
cond
(
not-p
(
inst
beq
temp
zero-tn
not-target
)
(
inst
bne
temp
zero-tn
target
))
(
t
(
inst
beq
temp
zero-tn
target
)
(
inst
bne
temp
zero-tn
not-target
)))
(
inst
beq
temp
zero-tn
yep
)
(
inst
nop
)
(
inst
b
nope
)
SINGLE-WORD
;; Get the single digit.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment