Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
c20f4ed5
Commit
c20f4ed5
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed generic-* to work given the new pseudo-atomic.
parent
e3f550fe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assembly/sparc/arith.lisp
+4
-6
4 additions, 6 deletions
assembly/sparc/arith.lisp
with
4 additions
and
6 deletions
assembly/sparc/arith.lisp
+
4
−
6
View file @
c20f4ed5
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/sparc/arith.lisp,v 1.
9
1992/0
3/11 21:37
:4
5
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/sparc/arith.lisp,v 1.
10
1992/0
4/28 04:23
:4
7
wlott Exp $
;;;
;;;
;;; Stuff to handle simple cases for generic arithmetic.
;;; Stuff to handle simple cases for generic arithmetic.
;;;
;;;
...
@@ -166,12 +166,10 @@
...
@@ -166,12 +166,10 @@
(
inst
or
lo
temp
)
(
inst
or
lo
temp
)
(
inst
sra
hi
2
)
(
inst
sra
hi
2
)
;; Allocate a BIGNUM for the result.
;; Allocate a BIGNUM for the result.
(
pseudo-atomic
(
temp
)
(
pseudo-atomic
(
:extra
(
pad-data-block
(
1+
bignum-digits-offset
))
)
(
let
((
one-word
(
gen-label
)))
(
let
((
one-word
(
gen-label
)))
(
inst
add
res
alloc-tn
other-pointer-type
)
(
inst
or
res
alloc-tn
other-pointer-type
)
;; Assume we need one word.
;; We start out assuming that we need one word. Is that correct?
(
inst
add
alloc-tn
(
pad-data-block
(
1+
bignum-digits-offset
)))
;; Is that correct?
(
inst
sra
temp
lo
31
)
(
inst
sra
temp
lo
31
)
(
inst
xorcc
temp
hi
)
(
inst
xorcc
temp
hi
)
(
inst
b
:eq
one-word
)
(
inst
b
:eq
one-word
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment