s390x-linux also has memfd_secret, syswrap it
[valgrind.git] / memcheck / tests / amd64 / sh-mem-vec128.c
blob29b71378551b036dffa7e1a5f440ee6bbf3fa9ef
2 // Set up the 128-bit shadow memory test, by defining the
3 // required vector-copy function, and then including the
4 // template.
6 #define VECTOR_BYTES 16
8 static __attribute__((noinline))
9 void vector_copy ( void* dst, void* src )
11 __asm__ __volatile__(
12 "movups (%1), %%xmm7 ; movups %%xmm7, (%0)"
13 : /*OUT*/ : /*IN*/ "r"(dst), "r"(src) : "memory","xmm7"
17 // Include the test body, which refers to the above function
18 #include "../common/sh-mem-vec128.tmpl.c"