|
From: <sv...@va...> - 2015-08-15 11:40:34
|
Author: rhyskidd
Date: Sat Aug 15 12:40:27 2015
New Revision: 15552
Log:
Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray.
Modified:
trunk/none/tests/amd64/avx2-1.c
Modified: trunk/none/tests/amd64/avx2-1.c
==============================================================================
--- trunk/none/tests/amd64/avx2-1.c (original)
+++ trunk/none/tests/amd64/avx2-1.c Sat Aug 15 12:40:27 2015
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
typedef unsigned char UChar;
typedef unsigned int UInt;
@@ -65,7 +65,7 @@
\
__attribute__ ((noinline)) static void test_##_name ( void ) \
{ \
- Block* b = memalign(32, sizeof(Block)); \
+ Block* b = memalign32(sizeof(Block)); \
randBlock(b); \
printf("%s(reg)\n", #_name); \
showBlock("before", b); \
|