projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.4.8:
[sbcl.git]
/
src
/
runtime
/
alpha-arch.c
diff --git
a/src/runtime/alpha-arch.c
b/src/runtime/alpha-arch.c
index
6a41dcb
..
bbf1741
100644
(file)
--- a/
src/runtime/alpha-arch.c
+++ b/
src/runtime/alpha-arch.c
@@
-363,17
+363,22
@@
sigtrap_handler(int signal, siginfo_t *siginfo, os_context_t *context)
}
}
}
}
-static void sigfpe_handler(int signal, int code, os_context_t *context)
+unsigned long
+arch_get_fp_control()
{
{
- /* what should this contain? interesting question. If it really
- * is empty, why don't we just ignore the signal? -dan 2001.08.10
- */
+ return ieee_get_fp_control();
+}
+
+void
+arch_set_fp_control(unsigned long fp)
+{
+ ieee_set_fp_control(fp);
}
}
+
void arch_install_interrupt_handlers()
{
undoably_install_low_level_interrupt_handler(SIGTRAP, sigtrap_handler);
void arch_install_interrupt_handlers()
{
undoably_install_low_level_interrupt_handler(SIGTRAP, sigtrap_handler);
- undoably_install_low_level_interrupt_handler(SIGFPE, sigfpe_handler);
}
extern lispobj call_into_lisp(lispobj fun, lispobj *args, int nargs);
}
extern lispobj call_into_lisp(lispobj fun, lispobj *args, int nargs);