Fixed a bug in predictable branching

This commit is contained in:
tevador 2018-11-04 15:38:19 +01:00
parent 2f6875a967
commit d69d3d69a0
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ int main(int argc, char** argv) {
uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536; uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536;
uint64_t ss = 0; uint64_t ss = 0;
uint64_t branches = 0; uint64_t branches = 0;
uint32_t state = 0; uint64_t state = 0;
uint32_t state2 = 123456789; uint32_t state2 = 123456789;
void* stack[65536]; void* stack[65536];
PROF_START(); PROF_START();

View File

@ -11,7 +11,7 @@ int main(int argc, char** argv) {
uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536; uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536;
uint64_t ss = 0; uint64_t ss = 0;
uint64_t branches = 0; uint64_t branches = 0;
uint32_t state = 0; uint64_t state = 0;
uint32_t state2 = 123456789; uint32_t state2 = 123456789;
void* stack[65536]; void* stack[65536];
PROF_START(); PROF_START();

View File

@ -11,7 +11,7 @@ int main(int argc, char** argv) {
uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536; uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536;
uint64_t ss = 0; uint64_t ss = 0;
uint64_t branches = 0; uint64_t branches = 0;
uint32_t state = 0; uint64_t state = 0;
uint32_t state2 = 123456789; uint32_t state2 = 123456789;
void* stack[65536]; void* stack[65536];
PROF_START(); PROF_START();

View File

@ -11,7 +11,7 @@ int main(int argc, char** argv) {
uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536; uint64_t ic = argc > 1 ? atoi(argv[1]) : 65536;
uint64_t ss = 0; uint64_t ss = 0;
uint64_t branches = 0; uint64_t branches = 0;
uint32_t state = 0; uint64_t state = 0;
uint32_t state2 = 123456789; uint32_t state2 = 123456789;
void* stack[65536]; void* stack[65536];
PROF_START(); PROF_START();