Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / memcheck / tests / amd64 / sh-mem-vec256.c
blobd8eb5f141dda9cefc4ccb75868fd24846b75e325
2 // Set up the 256-bit shadow memory test, by defining the
3 // required vector-copy function, and then including the
4 // template.
6 #define VECTOR_BYTES 32
8 static __attribute__((noinline))
9 void vector_copy ( void* dst, void* src )
11 /* Note: Versions of GCC through 4.8.1 do not allow "ymm7" in the
12 clobber list. (See http://stackoverflow.com/a/15767111/768469).
13 Simulate it with "xmm7". */
14 __asm__ __volatile__(
15 "vmovupd (%1), %%ymm7 ; vmovupd %%ymm7, (%0)"
16 : /*OUT*/ : /*IN*/ "r"(dst), "r"(src) : "memory","xmm7"
20 // Include the test body, which refers to the above function
21 #include "../common/sh-mem-vec128.tmpl.c"