#include "gettime.inc" int main(__attribute__((unused)) int argc, char *argv[]) { map(argc, argv); start_loop { for (i = 0; i < LEN; i += 64) { asm volatile ("movq %%rax, %0" : "=m"(m[i]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 8]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 16]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 24]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 32]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 40]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 48]) :: "rax", "memory"); asm volatile ("movq %%rax, %0" : "=m"(m[i + 56]) :: "rax", "memory"); //asm volatile ("clwb %0" : "=m"(m[i]) :: "memory"); } } end_loop(LEN / 8, LEN); return 0; }