match: Check the number of elements in broadcasting operands
[nasm/avx512.git] / test / perf / label.pl
blob9b59768fd5c986d051b76fb9c192eedb3e38c080
1 #!/usr/bin/perl
3 # Generate a test case for label lookup performance
6 ($len) = @ARGV;
7 $len = 100000 unless ($len);
9 print "\tbits 32\n";
10 print "\tsection .data\n";
11 print "\n";
13 for ($i = 0; $i < $len; $i++) {
14 print "l$i:\n";
15 for ($j = 0; $j < 8; $j++) {
16 print "\tdd l", int(rand($i+1)), "\n";