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
d82c3ecf
Commit
d82c3ecf
authored
19 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Instead of putting the static-function-offset into LIP, put it in
CODE-TN, which is what the sparc port does.
parent
34ecaeba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assembly/ppc/arith.lisp
+20
-15
20 additions, 15 deletions
assembly/ppc/arith.lisp
with
20 additions
and
15 deletions
assembly/ppc/arith.lisp
+
20
−
15
View file @
d82c3ecf
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/ppc/arith.lisp,v 1.
7
2005/12/1
1 20:30:45
rtoy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/ppc/arith.lisp,v 1.
8
2005/12/1
2 00:46:06
rtoy Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -58,11 +58,12 @@
(
lisp-return
lra
lip
:offset
2
)
DO-STATIC-FUN
(
inst
lwz
lip
null-tn
(
static-function-offset
'two-arg-+
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
'two-arg-+
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
DONE
(
move
res
temp
))
...
...
@@ -106,11 +107,12 @@
(
lisp-return
lra
lip
:offset
2
)
DO-STATIC-FUN
(
inst
lwz
lip
null-tn
(
static-function-offset
'two-arg--
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
'two-arg--
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
DONE
(
move
res
temp
))
...
...
@@ -183,11 +185,12 @@
(
lisp-return
lra
lip
:offset
2
)
DO-STATIC-FUN
(
inst
lwz
lip
null-tn
(
static-function-offset
'two-arg-*
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
'two-arg-*
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
LOW-FITS-IN-FIXNUM
(
move
res
lo
))
...
...
@@ -315,11 +318,11 @@
(
inst
beq
DO-COMPARE
)
DO-STATIC-FN
(
inst
lwz
lip
null-tn
(
static-function-offset
',static-fn
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
',static-fn
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
DO-COMPARE
...
...
@@ -361,11 +364,11 @@
(
lisp-return
lra
lip
:offset
2
)
DO-STATIC-FN
(
inst
lwz
lip
null-tn
(
static-function-offset
'eql
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
'eql
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
RETURN-T
(
load-symbol
res
t
))
...
...
@@ -397,11 +400,12 @@
(
lisp-return
lra
lip
:offset
2
)
DO-STATIC-FN
(
inst
lwz
lip
null-tn
(
static-function-offset
'two-arg-=
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
'two-arg-=
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
RETURN-T
(
load-symbol
res
t
))
...
...
@@ -431,11 +435,12 @@
(
lisp-return
lra
lip
:offset
2
)
DO-STATIC-FN
(
inst
lwz
lip
null-tn
(
static-function-offset
'two-arg-=
))
(
inst
lwz
code-tn
null-tn
(
static-function-offset
'two-arg-=
))
(
inst
li
nargs
(
fixnumize
2
))
(
inst
mr
ocfp
cfp-tn
)
(
inst
mr
cfp-tn
csp-tn
)
(
inst
j
lip
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
(
inst
j
code-tn
(
-
(
*
function-code-offset
word-bytes
)
function-pointer-type
))
RETURN-NIL
(
inst
mr
res
null-tn
))
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