summaryrefslogtreecommitdiff
path: root/indra/llmath/tests
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-01-04 15:21:23 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-01-04 15:21:23 -0500
commit1435a8b9e6203911d2ebe9e3ba217f8eb20e3140 (patch)
tree158c5dcd824aca1d01f0f119849458739d3f451e /indra/llmath/tests
parentd285f78e91dd18b0dfa2608faf45738af1e637bd (diff)
SH-2789 WIP - stricter calling of memcpyNonAliased16
Diffstat (limited to 'indra/llmath/tests')
-rwxr-xr-xindra/llmath/tests/alignment_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmath/tests/alignment_test.cpp b/indra/llmath/tests/alignment_test.cpp
index 51a7051e69..dc9b41957d 100755
--- a/indra/llmath/tests/alignment_test.cpp
+++ b/indra/llmath/tests/alignment_test.cpp
@@ -72,6 +72,10 @@ void alignment_test_object_t::test<1>()
{
align_ptr = ll_aligned_malloc_16(sizeof(MyVector4a));
ensure("ll_aligned_malloc_16 failed", is_aligned(align_ptr,16));
+
+ align_ptr = ll_aligned_realloc_16(2*sizeof(MyVector4a));
+ ensure("ll_aligned_realloc_16 failed", is_aligned(align_ptr,16));
+
ll_aligned_free_16(align_ptr);
align_ptr = ll_aligned_malloc_32(sizeof(MyVector4a));
@@ -84,8 +88,6 @@ void alignment_test_object_t::test<1>()
template<> template<>
void alignment_test_object_t::test<2>()
{
- ensure("LLAlignment reality is broken: ", (1==1));
-
MyVector4a vec1;
ensure("LLAlignment vec1 unaligned", is_aligned(&vec1,16));