3 # Generate a test case for macro lookup performance
7 $len = 100000 unless ($len);
10 print "\tsection .data\n";
13 for ($i = 0; $i < $len; $i++) {
14 print "%define m$i $i\n";
15 for ($j = 0; $j < 8; $j++) {
16 print "\tdd m", int(rand($i+1)), "\n";