aboutsummaryrefslogtreecommitdiff
path: root/benchtests
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-01 09:58:59 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-01 09:59:09 -0700
commitaea44bf61aa3f27acbdb7648b6f5dc8882a8987b (patch)
treebfcaf320c807fbe3a07a6a89b0cee6a43eea9863 /benchtests
parent32b28d24a1183bb411c813e51186c2896dd3efe3 (diff)
downloadglibc-aea44bf61aa3f27acbdb7648b6f5dc8882a8987b.zip
glibc-aea44bf61aa3f27acbdb7648b6f5dc8882a8987b.tar.gz
glibc-aea44bf61aa3f27acbdb7648b6f5dc8882a8987b.tar.bz2
Test 64-byte alignment in memmove benchtest
Add 64-byte alignment tests in memmove benchtest for 64-byte vector registers. * benchtests/bench-memmove.c (test_main): Test 64-byte alignment.
Diffstat (limited to 'benchtests')
-rw-r--r--benchtests/bench-memmove.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchtests/bench-memmove.c b/benchtests/bench-memmove.c
index 79b7bd8..c38596b 100644
--- a/benchtests/bench-memmove.c
+++ b/benchtests/bench-memmove.c
@@ -176,6 +176,14 @@ test_main (void)
do_test (i, 0, 16 * i);
}
+ for (i = 32; i < 64; ++i)
+ {
+ do_test (0, 0, 32 * i);
+ do_test (i, 0, 32 * i);
+ do_test (0, i, 32 * i);
+ do_test (i, i, 32 * i);
+ }
+
return ret;
}