~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
/
gcm.c
diff --git
a/symm/gcm.c
b/symm/gcm.c
index
9571894
..
b438415
100644
(file)
--- a/
symm/gcm.c
+++ b/
symm/gcm.c
@@
-782,6
+782,10
@@
void gcm_concat(const gcm_params *p, uint32 *z, const uint32 *x,
#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 void report_failure(const char *test, unsigned nbits,
const char *ref, dstr v[], dstr *d)
{
static void report_failure(const char *test, unsigned nbits,
const char *ref, dstr v[], dstr *d)
{
@@
-874,6
+878,9
@@
GCM_WIDTHS(TEST)
int main(int argc, char *argv[])
{
ego(argv[0]);
int main(int argc, char *argv[])
{
ego(argv[0]);
+#ifdef ENABLE_ASM_DEBUG
+ regdump_init();
+#endif
test_run(argc, argv, defs, SRCDIR"/t/gcm");
return (0);
}
test_run(argc, argv, defs, SRCDIR"/t/gcm");
return (0);
}