Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Apr 1, 2016
1 parent 32b28d2 commit aea44bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
8 changes: 8 additions & 0 deletions benchtests/bench-memmove.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit aea44bf

Please sign in to comment.