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.
This commit is contained in:
H.J. Lu 2016-04-01 09:58:59 -07:00
parent 32b28d24a1
commit aea44bf61a
2 changed files with 13 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}