Skip to content
Permalink
Browse files

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.
  • Loading branch information...
H.J. Lu
H.J. Lu committed Apr 1, 2016
1 parent 32b28d2 commit aea44bf61aa3f27acbdb7648b6f5dc8882a8987b
Showing with 13 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +8 −0 benchtests/bench-memmove.c
@@ -1,3 +1,8 @@
2016-04-01 H.J. Lu <hongjiu.lu@intel.com>

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

2016-04-01 H.J. Lu <hongjiu.lu@intel.com>

* benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
@@ -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;
}

0 comments on commit aea44bf

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