/******************************************************************************** * File: Step1.c * * Description: This microbenchmark answers the question: * What is maximum length of the "spy" branch pattern * that would be correctly predicted when the spy branch * is the only branch in a loop? * * Date: April 2002 * * Author: M.Milenkovic - milena@computer.org **********************************************************************************/ #define L 10 /* pattern length */ void main(void) { int long unsigned i; /* loop index */ int a=1; /* variable with conditional assignment*/ int long unsigned liter = 10000000; /* number of iterations */ for (i=0; i