Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
444 bytes
|
Rev | Line | |
---|
[444] | 1 | |
---|
| 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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.