Retro68/gcc/newlib/libc/machine/h8500/shifts.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

46 lines
444 B
C

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;
}