Last active
May 31, 2017 11:23
-
-
Save mfleming/1582c252477364bca0ea121615f26131 to your computer and use it in GitHub Desktop.
LMBench nop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void | |
do_int64_mul(unsigned int iterations, unsigned int N) | |
{ | |
int64_t r = (int64_t)N + 37420; | |
r += (int64_t)(N + 6)<<32; | |
while (iterations-- > 0) | |
; | |
use_int((int)r); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment