URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 15 |
Rev 148 |
Line 5264... |
Line 5264... |
num_cus = byte_get_little_endian (constant_pool + cu_vector_offset, 4);
|
num_cus = byte_get_little_endian (constant_pool + cu_vector_offset, 4);
|
for (j = 0; j < num_cus; ++j)
|
for (j = 0; j < num_cus; ++j)
|
{
|
{
|
cu = byte_get_little_endian (constant_pool + cu_vector_offset + 4 + j * 4, 4);
|
cu = byte_get_little_endian (constant_pool + cu_vector_offset + 4 + j * 4, 4);
|
/* Convert to TU number if it's for a type unit. */
|
/* Convert to TU number if it's for a type unit. */
|
if (cu >= cu_list_elements)
|
if (cu >= cu_list_elements / 2)
|
printf (" T%lu", (unsigned long) (cu - cu_list_elements));
|
printf (" T%lu", (unsigned long) (cu - cu_list_elements / 2));
|
else
|
else
|
printf (" %lu", (unsigned long) cu);
|
printf (" %lu", (unsigned long) cu);
|
}
|
}
|
printf ("\n");
|
printf ("\n");
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.