2 // Set up the 256-bit shadow memory test, by defining the
3 // required vector-copy function, and then including the
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". */
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"