mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
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:
parent
32b28d24a1
commit
aea44bf61a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user