[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Mon Jan 27 06:53:31 UTC 2014
details: /var/hg/gmp/rev/4294cddc8867
changeset: 16256:4294cddc8867
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Mon Jan 27 07:52:01 2014 +0100
description:
tests/mpn/t-aors_1.c: Check sec_aors_1 red zones (not smart).
details: /var/hg/gmp/rev/e7532d3e6158
changeset: 16257:e7532d3e6158
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Mon Jan 27 07:53:17 2014 +0100
description:
ChangeLog
diffstat:
ChangeLog | 4 ++++
tests/mpn/t-aors_1.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diffs (34 lines):
diff -r 486d03cb7507 -r e7532d3e6158 ChangeLog
--- a/ChangeLog Fri Jan 24 15:53:41 2014 +0100
+++ b/ChangeLog Mon Jan 27 07:53:17 2014 +0100
@@ -1,3 +1,7 @@
+2014-01-27 Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+ * tests/mpn/t-aors_1.c: Check sec_aors_1 red zones (not smart).
+
2014-01-24 Torbjorn Granlund <tege at gmplib.org>
* mpn/x86_64/fat/fat.c (fake_cpuid_table): Use proper steamroller and
diff -r 486d03cb7507 -r e7532d3e6158 tests/mpn/t-aors_1.c
--- a/tests/mpn/t-aors_1.c Fri Jan 24 15:53:41 2014 +0100
+++ b/tests/mpn/t-aors_1.c Mon Jan 27 07:53:17 2014 +0100
@@ -148,7 +148,9 @@
VERIFY ("check_add_1 (in-place)");
SETUP ();
+ scratch [mpn_sec_add_1_itch(data[i].size)] = MAGIC;
got_c = mpn_sec_add_1 (got, data[i].src, data[i].size, data[i].n, scratch);
+ got_c ^= scratch [mpn_sec_add_1_itch(data[i].size)] ^ MAGIC;
VERIFY ("check_sec_add_1 (separate)");
SETUP_INPLACE ();
@@ -247,7 +249,9 @@
VERIFY ("check_sub_1 (in-place)");
SETUP ();
+ scratch [mpn_sec_sub_1_itch(data[i].size)] = MAGIC;
got_c = mpn_sec_sub_1 (got, data[i].src, data[i].size, data[i].n, scratch);
+ got_c ^= scratch [mpn_sec_sub_1_itch(data[i].size)] ^ MAGIC;
VERIFY ("check_sec_sub_1 (separate)");
SETUP_INPLACE ();
More information about the gmp-commit
mailing list