Skip to content
Permalink
Browse files

Test 64-byte alignment in memcpy benchtest

Add 64-byte alignment tests in memcpy benchtest for 64-byte vector
registers.

	* benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
  • Loading branch information...
H.J. Lu
H.J. Lu committed Apr 1, 2016
1 parent 528ffb3 commit 32b28d24a1183bb411c813e51186c2896dd3efe3
Showing with 12 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +8 −0 benchtests/bench-memcpy.c
@@ -1,3 +1,7 @@
2016-04-01 H.J. Lu <hongjiu.lu@intel.com>

* benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.

2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>

* sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
@@ -149,6 +149,14 @@ test_main (void)
do_test (i, i, 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);
}

do_test (0, 0, getpagesize ());

return ret;

0 comments on commit 32b28d2

Please sign in to comment.
You can’t perform that action at this time.