OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20080922-1.c] - Diff between revs 297 and 384

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 384
typedef struct rtx_def *rtx;
typedef struct rtx_def *rtx;
typedef struct rtvec_def *rtvec;
typedef struct rtvec_def *rtvec;
enum rtx_code { PARALLEL, SET };
enum rtx_code { PARALLEL, SET };
union rtunion_def {
union rtunion_def {
    rtx rt_rtx;
    rtx rt_rtx;
    rtvec rt_rtvec;
    rtvec rt_rtvec;
};
};
typedef union rtunion_def rtunion;
typedef union rtunion_def rtunion;
struct rtx_def {
struct rtx_def {
    rtunion fld;
    rtunion fld;
};
};
struct rtvec_def {
struct rtvec_def {
    int num_elem;
    int num_elem;
};
};
extern rtx operand;
extern rtx operand;
 
 
rtx peephole2_insns (rtx x0, enum rtx_code code)
rtx peephole2_insns (rtx x0, enum rtx_code code)
{
{
  switch (code)
  switch (code)
    {
    {
      case SET:
      case SET:
          operand = (((x0)->fld).rt_rtx);
          operand = (((x0)->fld).rt_rtx);
          return operand;
          return operand;
      case PARALLEL:
      case PARALLEL:
          if ((((((x0)->fld).rt_rtvec))->num_elem) == 2)
          if ((((((x0)->fld).rt_rtvec))->num_elem) == 2)
            return 0;
            return 0;
          break;
          break;
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

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