From b70711baf48640ac9badc53fa1498c473a176688 Mon Sep 17 00:00:00 2001 From: Alexei Sheplyakov Date: Sun, 7 Sep 2008 20:14:55 +0400 Subject: [PATCH] Fix programs for timing 2-adic operations: tests/time{div,recip}2adic.cc At least they compile and run now. TODO: deobfuscate the code and provide helpful usage messages. --- tests/timediv2adic.cc | 2 +- tests/timerecip2adic.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/timediv2adic.cc b/tests/timediv2adic.cc index 7918c97..09264c4 100644 --- a/tests/timediv2adic.cc +++ b/tests/timediv2adic.cc @@ -23,7 +23,7 @@ int main (int argc, char * argv[]) uintL b_len = atoi(argv[2]); if (!(a_len >= b_len && b_len > 0)) exit(1); - SAVE_NUM_STACK; + CL_ALLOCA_STACK; uintD* a_MSDptr; uintD* a_LSDptr; uintD* b_MSDptr; diff --git a/tests/timerecip2adic.cc b/tests/timerecip2adic.cc index fa2c38e..16f99ae 100644 --- a/tests/timerecip2adic.cc +++ b/tests/timerecip2adic.cc @@ -20,7 +20,7 @@ int main (int argc, char * argv[]) if (argc < 2) exit(1); uintL len = atoi(argv[1]); - SAVE_NUM_STACK; + CL_ALLOCA_STACK; uintD* a_MSDptr; uintD* a_LSDptr; uintD* b_MSDptr;