8sa1-gcc/gcc/testsuite/gcc.c-torture/unsorted/m2.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

45 lines
405 B
C

void
store16 (p, a)
short *p;
short a;
{
*p = a;
}
signed int
sign_extend16 (p)
signed short *p;
{
return *p;
}
unsigned int
zero_extend16 (p)
unsigned short *p;
{
return *p;
}
void
store8 (p, a)
char *p;
char a;
{
*p = a;
}
signed int
sign_extend8 (p)
signed char *p;
{
return *p;
}
unsigned int
zero_extend8 (p)
unsigned char *p;
{
return *p;
}