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
7af795a2
Commit
7af795a2
authored
31 years ago
by
hallgren
Browse files
Options
Downloads
Patches
Plain Diff
Added Alpha support.
parent
24069d6a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
code/bit-bash.lisp
+3
-2
3 additions, 2 deletions
code/bit-bash.lisp
code/debug-int.lisp
+34
-5
34 additions, 5 deletions
code/debug-int.lisp
code/exports.lisp
+8
-3
8 additions, 3 deletions
code/exports.lisp
code/internet.lisp
+6
-6
6 additions, 6 deletions
code/internet.lisp
with
51 additions
and
16 deletions
code/bit-bash.lisp
+
3
−
2
View file @
7af795a2
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/bit-bash.lisp,v 1.1
6
199
2
/0
7/31
17:
5
0:1
8 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/bit-bash.lisp,v 1.1
7
199
4
/0
4/06
17:
0
0:1
6 hallgren
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -126,7 +126,8 @@
(
type
index
offset
)
(
values
system-area-pointer
index
))
(
let
((
address
(
sap-int
sap
)))
(
values
(
int-sap
(
32bit-logical-andc2
address
3
))
(
values
(
int-sap
#-
alpha
(
32bit-logical-andc2
address
3
)
#+
alpha
(
ash
(
ash
address
-2
)
2
))
(
+
(
*
(
logand
address
3
)
byte-bits
)
offset
))))
(
declaim
(
inline
word-sap-ref
%set-word-sap-ref
))
...
...
This diff is collapsed.
Click to expand it.
code/debug-int.lisp
+
34
−
5
View file @
7af795a2
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug-int.lisp,v 1.6
4
199
3/11/08 00:22:25 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug-int.lisp,v 1.6
5
199
4/04/06 17:02:40 hallgren
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -920,8 +920,14 @@
(
let
((
fp
(
frame-pointer
real
)))
(
when
(
cstack-pointer-valid-p
fp
)
(
compute-calling-frame
#-
alpha
(
system:sap-ref-sap
fp
(
*
vm::ocfp-save-offset
vm:word-bytes
))
#+
alpha
(
kernel::int-sap
(
system:sap-ref-32
fp
(
*
vm::ocfp-save-offset
vm:word-bytes
)))
#-
gengc
(
kernel:stack-ref
fp
vm::lra-save-offset
)
#+
gengc
...
...
@@ -1421,9 +1427,15 @@
(
loop
(
when
(
zerop
(
sap-int
catch
))
(
return
(
nreverse
res
)))
(
when
(
sap=
fp
#-
alpha
(
system:sap-ref-sap
catch
(
*
vm:catch-block-current-cont-slot
vm:word-bytes
)))
vm:word-bytes
))
#+
alpha
(
kernel::int-sap
(
system:sap-ref-32
catch
(
*
vm:catch-block-current-cont-slot
vm:word-bytes
))))
(
let*
(
#-
gengc
(
lra
(
kernel:stack-ref
catch
vm:catch-block-entry-pc-slot
))
#+
gengc
...
...
@@ -1445,9 +1457,15 @@
offset
(
frame-debug-function
frame
)))
res
)))
(
setf
catch
#-
alpha
(
system:sap-ref-sap
catch
(
*
vm:catch-block-previous-catch-slot
vm:word-bytes
))))))
vm:word-bytes
))
#+
alpha
(
kernel::int-sap
(
system:sap-ref-32
catch
(
*
vm:catch-block-previous-catch-slot
vm:word-bytes
)))))))
;;; FRAME-REAL-FRAME -- Internal.
;;;
...
...
@@ -2712,8 +2730,13 @@
(
system:int-sap
(
vm:sigcontext-register
escaped
vm::nfp-offset
))
#-
alpha
(
system:sap-ref-sap
fp
(
*
vm::nfp-save-offset
vm:word-bytes
)))))
vm:word-bytes
))
#+
alpha
(
alpha::make-number-stack-pointer
(
system:sap-ref-32
fp
(
*
vm::nfp-save-offset
vm:word-bytes
))))))
,@
body
)))
(
ecase
(
c::sc-offset-scn
sc-offset
)
((
#.
vm:any-reg-sc-number
...
...
@@ -2842,9 +2865,15 @@
(
system:int-sap
(
vm:sigcontext-register
escaped
vm::nfp-offset
))
#-
alpha
(
system:sap-ref-sap
fp
(
*
vm::nfp-save-offset
vm:word-bytes
)))))
vm:word-bytes
))
#+
alpha
(
alpha::make-number-stack-pointer
(
system:sap-ref-32
fp
(
*
vm::nfp-save-offset
vm:word-bytes
))))))
,@
body
)))
(
ecase
(
c::sc-offset-scn
sc-offset
)
((
#.
vm:any-reg-sc-number
...
...
This diff is collapsed.
Click to expand it.
code/exports.lisp
+
8
−
3
View file @
7af795a2
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/exports.lisp,v 1.9
8
199
3/11/06 04:32:34 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/exports.lisp,v 1.9
9
199
4/04/06 17:03:07 hallgren
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -59,6 +59,10 @@
(
if
(
find-package
"HPPA"
)
(
rename-package
"HPPA"
"HPPA"
'
(
"VM"
"OLD-HPPA"
))
(
make-package
"HPPA"
:nicknames
'
(
"VM"
"OLD-HPPA"
)
:use
nil
))
#+
alpha
(
if
(
find-package
"ALPHA"
)
(
rename-package
"ALPHA"
"ALPHA"
'
(
"VM"
"OLD-ALPHA"
))
(
make-package
"ALPHA"
:nicknames
'
(
"VM"
"OLD-ALPHA"
)
:use
nil
))
(
if
(
find-package
"CONDITIONS"
)
(
rename-package
"CONDITIONS"
"CONDITIONS"
'nil
)
(
make-package
"CONDITIONS"
:nicknames
'nil
:use
nil
))
...
...
@@ -556,10 +560,10 @@
"DOUBLE-FLOAT-P"
"SIMPLE-ARRAY-P"
"SINGLE-FLOAT-P"
))
(
intern
name
"KERNEL"
))
(
defpackage
#+
pmax
"MIPS"
#+
sparc
"SPARC"
#+
ibmrt
"RT"
#+
x86
"X86"
#+
hppa
"HPPA"
#+
x86
"X86"
#+
hppa
"HPPA"
#+
alpha
"ALPHA"
(
:nicknames
"VM"
#+
pmax
"OLD-MIPS"
#+
sparc
"OLD-SPARC"
#+
ibmrt
"OLD-RT"
#+
x86
"OLD-X86"
#+
hppa
"HPPA"
)
#+
x86
"OLD-X86"
#+
hppa
"HPPA"
#+
alpha
"OLD-ALPHA"
)
(
:import-from
"LISP"
"%ARRAY-TYPEP"
"%ASET"
"%BITSET"
"%CHARSET"
"%PUT"
"%RPLACA"
"%RPLACD"
"%SBITSET"
"%SCHARSET"
"%SET-DOCUMENTATION"
"%SET-FDEFINITION"
"%SET-FILL-POINTER"
...
...
@@ -1078,6 +1082,7 @@
"DEF-SETTER"
"FIXED-ALLOC"
"HPPA-FASL-FILE-IMPLEMENTATION"
"ALPHA-FASL-FILE-IMPLEMENTATION"
"MAKE-UNBOUND-MARKER"
"RETURN-SINGLE"
"BACKEND-PAGE-SIZE"
...
...
This diff is collapsed.
Click to expand it.
code/internet.lisp
+
6
−
6
View file @
7af795a2
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/internet.lisp,v 1.1
3
199
3/12
/0
9
1
2:56:58 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/internet.lisp,v 1.1
4
199
4/04
/0
6
1
7:03:51 hallgren
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -91,14 +91,14 @@
(
def-alien-type
unix-sockaddr
(
struct
nil
(
family
short
)
(
family
#-
alpha
short
#+
alpha
unsigned-
short
)
(
path
(
array
char
108
))))
(
def-alien-type
inet-sockaddr
(
struct
nil
(
family
short
)
(
family
#-
alpha
short
#+
alpha
unsigned-
short
)
(
port
unsigned-short
)
(
addr
unsigned-long
)
(
addr
#-
alpha
unsigned-long
#+
alpha
unsigned-int
)
(
zero
(
array
char
8
))))
(
def-alien-type
hostent
...
...
@@ -135,7 +135,7 @@
(
iterate
repeat
((
index
0
))
(
declare
(
type
kernel:index
index
))
(
cond
((
zerop
(
deref
(
cast
(
slot
hostent
'aliases
)
(
*
(
unsigned
32
)))
(
*
(
unsigned
#-
alpha
32
#+
alpha
64
)))
index
))
(
results
))
(
t
...
...
@@ -147,7 +147,7 @@
(
iterate
repeat
((
index
0
))
(
declare
(
type
kernel:index
index
))
(
cond
((
zerop
(
deref
(
cast
(
slot
hostent
'addr-list
)
(
*
(
unsigned
32
)))
(
*
(
unsigned
#-
alpha
32
#+
alpha
64
)))
index
))
(
results
))
(
t
...
...
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