OpenCores
URL https://opencores.org/ocsvn/c16/c16/trunk

Subversion Repositories c16

[/] [c16/] [trunk/] [compiler/] [Backend.cc] - Diff between revs 26 and 29

Show entire file | Details | Blame | View Log

Rev 26 Rev 29
Line 16... Line 16...
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
int Backend::check_size(int size, const char * function)
int Backend::check_size(int size, const char * function)
{
{
   if (size == 1)   return  8;
   if (size == 1)   return  8;
   if (size == 2)   return 16;
   if (size == 2)   return 16;
   fprintf(stderr, "Backend::%s does not support %d bits\n", size * 8);
   fprintf(stderr, "Backend::%s does not support %d bits\n",
 
           function, size * 8);
   return 0;
   return 0;
}
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
int Backend::check_size(SUW suw, const char * function)
int Backend::check_size(SUW suw, const char * function)
{
{

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.