}
+#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);
+ cli();
+ matS2=matrix_multiply(&gf, matInvGs, matCs, t, t, t, len, w);
+ sei();
}
end = std::chrono::system_clock::now();
elapsed_seconds = end-start;