(def!constant float-overflow-trap-bit (ash 1 2)) ; ro
(def!constant float-divide-by-zero-trap-bit (ash 1 1)) ; ro
(def!constant float-invalid-trap-bit (ash 1 0)) ; ro
-(defconstant-eqx float-traps-byte (byte 6 1) #'equalp)
+(defconstant-eqx float-traps-byte (byte 6 1) #'equalp)
;;; exceptions are also read/written in software (by syscalls, no less).
;;; This is kind of dumb, but has to be done
-(defconstant-eqx float-sticky-bits (byte 6 17) #'equalp) ; fp_control
+(defconstant-eqx float-sticky-bits (byte 6 17) #'equalp) ; fp_control
;;; (We don't actually _have_ "current exceptions" on Alpha; the
;;; hardware only ever sets bits. So, set this the same as accrued
(def!constant float-round-to-negative 1)
(def!constant float-round-to-nearest 2)
(def!constant float-round-to-positive 3)
-(defconstant-eqx float-rounding-mode (byte 2 58) #'equalp)
+(defconstant-eqx float-rounding-mode (byte 2 58) #'equalp)
;;; Miscellaneous stuff - I think it's far to say that you deserve
;;; what you get if you ask for fast mode.
cerror
breakpoint
fun-end-breakpoint
- single-step-breakpoint)
+ single-step-breakpoint
+ ;; Stepper actually not implemented on Alpha, but these constants
+ ;; are still needed to avoid undefined variable warnings during sbcl
+ ;; build.
+ single-step-around
+ single-step-before)
(defenum (:prefix trace-table-)
normal
;;; can be loaded directly out of them by indirecting relative to NIL.
;;;
(defparameter *static-symbols*
- '(t
-
- ;; The C startup code must fill these in.
- *posix-argv*
-
- ;; functions that the C code needs to call
- sub-gc
- sb!kernel::internal-error
- sb!kernel::control-stack-exhausted-error
- sb!kernel::undefined-alien-variable-error
- sb!kernel::undefined-alien-function-error
- sb!di::handle-breakpoint
- sb!di::handle-fun-end-breakpoint
-
- ;; free pointers
- *read-only-space-free-pointer*
- *static-space-free-pointer*
- *initial-dynamic-space-free-pointer*
-
- ;; things needed for non-local exit
- *current-catch-block*
- *current-unwind-protect-block*
-
- *binding-stack-start*
- *control-stack-start*
- *control-stack-end*
-
- ;; interrupt handling
- *free-interrupt-context-index*
- sb!unix::*interrupts-enabled*
- sb!unix::*interrupt-pending*))
+ (append
+ *common-static-symbols*
+ *c-callable-static-symbols*
+ '()))
(defparameter *static-funs*
'(length
sb!kernel:two-arg->
sb!kernel:two-arg-=
;; FIXME: Is this
- ;; probably need the following as they are defined in
- ;; arith.lisp: two-arg-<= two-arg->= two-arg-/=
+ ;; probably need the following as they are defined in
+ ;; arith.lisp: two-arg-<= two-arg->= two-arg-/=
;; a comment from old CMU CL or old old CMU CL or
;; the SBCL alpha port or what? Do we need to worry about it,
;; or can we delete it?
+ sb!kernel:two-arg-/=
eql
sb!kernel:%negate
sb!kernel:two-arg-and