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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [machine/] [h8500/] [shifts.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
 
2
 
3
int __ashrhi3(int a,int b)
4
{
5
  return a>>b;
6
}
7
 
8
int __ashlhi3(int a,int b)
9
{
10
  return a<<b;
11
}
12
 
13
unsigned __lshlhi3(unsigned int a,int b)
14
{
15
  return a<<b;
16
}
17
 
18
unsigned __lshrhi3(unsigned int a,int b)
19
{
20
  return a>>b;
21
}
22
 
23
 
24
 
25
 
26
long __ashrsi3(long a, int b)
27
{
28
  return a>>b;
29
}
30
 
31
long __ashlsi3(long a,int b)
32
{
33
  return a<<b;
34
}
35
 
36
unsigned __lshlsi3(unsigned long a,int b)
37
{
38
  return a<<b;
39
}
40
 
41
unsigned __lshrsi3(unsigned long a,int b)
42
{
43
  return a>>b;
44
}
45
 

powered by: WebSVN 2.1.0

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