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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [m2.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
void
2
store16 (p, a)
3
     short *p;
4
     short a;
5
{
6
  *p = a;
7
}
8
 
9
signed int
10
sign_extend16 (p)
11
     signed short *p;
12
{
13
  return *p;
14
}
15
 
16
unsigned int
17
zero_extend16 (p)
18
     unsigned short *p;
19
{
20
  return *p;
21
}
22
 
23
void
24
store8 (p, a)
25
     char *p;
26
     char a;
27
{
28
  *p = a;
29
}
30
 
31
signed int
32
sign_extend8 (p)
33
     signed char *p;
34
{
35
  return *p;
36
}
37
 
38
unsigned int
39
zero_extend8 (p)
40
     unsigned char *p;
41
{
42
  return *p;
43
}
44
 

powered by: WebSVN 2.1.0

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