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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [machine/] [powerpc/] [machine/] [stdlib.h] - Blame information for rev 345

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#ifndef _MACHSTDLIB_H_
2
#define _MACHSTDLIB_H_
3
 
4
#ifndef __STRICT_ANSI__
5
 
6
# if defined(__ALTIVEC__)
7
 
8
_PTR    _EXFUN(vec_calloc,(size_t __nmemb, size_t __size));
9
_PTR    _EXFUN(_vec_calloc_r,(struct _reent *, size_t __nmemb, size_t __size));
10
_VOID   _EXFUN(vec_free,(_PTR));
11
#define _vec_freer _freer
12
_PTR    _EXFUN(vec_malloc,(size_t __size));
13
#define _vec_mallocr _memalign_r
14
_PTR    _EXFUN(vec_realloc,(_PTR __r, size_t __size));
15
_PTR    _EXFUN(_vec_realloc_r,(struct _reent *, _PTR __r, size_t __size));
16
 
17
# endif /* __ALTIVEC__ */
18
 
19
# if defined(__SPE__)
20
 
21
#define __need_inttypes
22
#include <sys/types.h>
23
 
24
#ifdef __cplusplus
25
extern "C" {
26
#endif
27
__int16_t   _EXFUN(atosfix16,(const char *__str));
28
__int16_t   _EXFUN(_atosfix16_r,(struct _reent *, const char *__str));
29
__int32_t   _EXFUN(atosfix32,(const char *__str));
30
__int32_t   _EXFUN(_atosfix32_r,(struct _reent *, const char *__str));
31
__int64_t   _EXFUN(atosfix64,(const char *__str));
32
__int64_t   _EXFUN(_atosfix64_r,(struct _reent *, const char *__str));
33
 
34
__uint16_t _EXFUN(atoufix16,(const char *__str));
35
__uint16_t _EXFUN(_atoufix16_r,(struct _reent *, const char *__str));
36
__uint32_t _EXFUN(atoufix32,(const char *__str));
37
__uint32_t _EXFUN(_atoufix32_r,(struct _reent *, const char *__str));
38
__uint64_t _EXFUN(atoufix64,(const char *__str));
39
__uint64_t _EXFUN(_atoufix64_r,(struct _reent *, const char *__str));
40
 
41
__int16_t   _EXFUN(strtosfix16,(const char *__str, char **__endptr));
42
__int16_t   _EXFUN(_strtosfix16_r,(struct _reent *, const char *__str,
43
                 char **__endptr));
44
__int32_t   _EXFUN(strtosfix32,(const char *__str, char **__endptr));
45
__int32_t   _EXFUN(_strtosfix32_r,(struct _reent *, const char *__str,
46
                 char **__endptr));
47
__int64_t   _EXFUN(strtosfix64,(const char *__str, char **__endptr));
48
__int64_t   _EXFUN(_strtosfix64_r,(struct _reent *, const char *__str,
49
                 char **__endptr));
50
 
51
__uint16_t _EXFUN(strtoufix16,(const char *__str, char **__endptr));
52
__uint16_t _EXFUN(_strtoufix16_r,(struct _reent *, const char *__str,
53
                 char **__endptr));
54
__uint32_t _EXFUN(strtoufix32,(const char *__str, char **__endptr));
55
__uint32_t _EXFUN(_strtoufix32_r,(struct _reent *, const char *__str,
56
                 char **__endptr));
57
__uint64_t _EXFUN(strtoufix64,(const char *__str, char **__endptr));
58
__uint64_t _EXFUN(_strtoufix64_r,(struct _reent *, const char *__str,
59
                 char **__endptr));
60
#ifdef __cplusplus
61
}
62
#endif
63
 
64
# endif /* __SPE__ */
65
 
66
#endif /* !__STRICT_ANSI__ */
67
 
68
 
69
#endif  /* _MACHSTDLIB_H_ */
70
 
71
 

powered by: WebSVN 2.1.0

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