}
+#define cli() __asm volatile( "cli" ::: "memory" )
+#define sei() __asm volatile( "sei" ::: "memory" )
+
int main(int argc, char **argv)
{
// sleep(2);
start = std::chrono::system_clock::now();
for(int i=0;i<1000;i++) {
- int volatile tt=y;
- matS2=matrix_multiply(&gf, matInvGs, matCs, tt, tt, tt, len, w);
+ float tt=i;
+ tt=t;
+ int tt2=tt;
+ matS2=matrix_multiply(&gf, matInvGs, matCs, tt2, tt2, tt2, len, w);
+ sei();
}
end = std::chrono::system_clock::now();
elapsed_seconds = end-start;