~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]
/
symm
/
salsa20.c
diff --git
a/symm/salsa20.c
b/symm/salsa20.c
index
7806e6c
..
f0fe3d7
100644
(file)
--- a/
symm/salsa20.c
+++ b/
symm/salsa20.c
@@
-875,6
+875,10
@@
SALSA20_VARS(DEFXGRAND)
#include <mLib/quis.h>
#include <mLib/testrig.h>
#include <mLib/quis.h>
#include <mLib/testrig.h>
+#ifdef ENABLE_ASM_DEBUG
+# include "regdump.h"
+#endif
+
static const int perm[] = {
0, 13, 10, 7,
4, 1, 14, 11,
static const int perm[] = {
0, 13, 10, 7,
4, 1, 14, 11,
@@
-1017,6
+1021,9
@@
SALSA20_VARS(DEFXTAB)
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/salsa20");
return (0);
}
test_run(argc, argv, defs, SRCDIR"/t/salsa20");
return (0);
}