Welcome to mirror list, hosted at ThFree Co, Russian Federation.

shifts.c « h8500 « machine « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b8106931a2cf3f6e28c26cb9ff982f3c69fb012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45


int __ashrhi3(int a,int b)
{
  return a>>b;
}

int __ashlhi3(int a,int b)
{
  return a<<b;
}

unsigned __lshlhi3(unsigned int a,int b)
{
  return a<<b;
}

unsigned __lshrhi3(unsigned int a,int b)
{
  return a>>b;
}




long __ashrsi3(long a, int b)
{
  return a>>b;
}

long __ashlsi3(long a,int b)
{
  return a<<b;
}

unsigned __lshlsi3(unsigned long a,int b)
{
  return a<<b;
}

unsigned __lshrsi3(unsigned long a,int b)
{
  return a>>b;
}