Commit befb7307 by Alan Mishchenko

Code for profiling arithmetic circuits.

parent 9c7741ef
...@@ -313,7 +313,7 @@ void Acec_GenerateNpnTable() ...@@ -313,7 +313,7 @@ void Acec_GenerateNpnTable()
for ( i = 0; i < 256; i++ ) for ( i = 0; i < 256; i++ )
{ {
printf( "{" ); printf( "{" );
Extra_PrintHex( stdout, &Table[i], 3 ); Extra_PrintHex( stdout, (unsigned *)&Table[i], 3 );
printf( ", " ); printf( ", " );
// find the class // find the class
for ( k = 0; k < nClasses; k++ ) for ( k = 0; k < nClasses; k++ )
...@@ -324,7 +324,7 @@ void Acec_GenerateNpnTable() ...@@ -324,7 +324,7 @@ void Acec_GenerateNpnTable()
Map[i] = k; Map[i] = k;
// print // print
printf( "%2d}, // ", k ); printf( "%2d}, // ", k );
Extra_PrintHex( stdout, &i, 3 ); Extra_PrintHex( stdout, (unsigned *)&i, 3 );
printf( " = %3d\n", i ); printf( " = %3d\n", i );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment