~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize the register dumping machinery while testing assembler code.
[catacomb]
/
math
/
mpx.c
diff --git
a/math/mpx.c
b/math/mpx.c
index
07a6c20
..
f761003
100644
(file)
--- a/
math/mpx.c
+++ b/
math/mpx.c
@@
-1278,6
+1278,10
@@
mpw mpx_udivn(mpw *qv, mpw *qvl, const mpw *rv, const mpw *rvl, mpw d)
#include <mLib/quis.h>
#include <mLib/testrig.h>
#include <mLib/quis.h>
#include <mLib/testrig.h>
+#ifdef ENABLE_ASM_DEBUG
+# include "regdump.h"
+#endif
+
#include "mpscan.h"
#define ALLOC(v, vl, sz) do { \
#include "mpscan.h"
#define ALLOC(v, vl, sz) do { \
@@
-1709,6
+1713,9
@@
static test_chunk defs[] = {
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
+#ifdef ENABLE_ASM_DEBUG
+ regdump_init();
+#endif
test_run(argc, argv, defs, SRCDIR"/t/mpx");
return (0);
}
test_run(argc, argv, defs, SRCDIR"/t/mpx");
return (0);
}