URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 384 |
/* This testcase ICEd in combine.c:do_SUBST() self-test for sign-extended
|
/* This testcase ICEd in combine.c:do_SUBST() self-test for sign-extended
|
CONST_INT because expr.c:expand_expr() was not sign-extending array index
|
CONST_INT because expr.c:expand_expr() was not sign-extending array index
|
into constant strings. */
|
into constant strings. */
|
|
|
typedef unsigned char uch;
|
typedef unsigned char uch;
|
extern uch outbuf[];
|
extern uch outbuf[];
|
extern unsigned outcnt;
|
extern unsigned outcnt;
|
|
|
extern void flush_outbuf (void);
|
extern void flush_outbuf (void);
|
|
|
int zip(void)
|
int zip(void)
|
{
|
{
|
outcnt = 0;
|
outcnt = 0;
|
|
|
{outbuf[outcnt++]=(uch)("\037\213"[0]); if (outcnt==16384) flush_outbuf();};
|
{outbuf[outcnt++]=(uch)("\037\213"[0]); if (outcnt==16384) flush_outbuf();};
|
{outbuf[outcnt++]=(uch)("\037\213"[1]); if (outcnt==16384) flush_outbuf();};
|
{outbuf[outcnt++]=(uch)("\037\213"[1]); if (outcnt==16384) flush_outbuf();};
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.