diff options
author | Joseph Myers <joseph@codesourcery.com> | 2004-10-08 23:45:48 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-10-08 23:45:48 +0100 |
commit | 538e39641081c882379aece823d4f0044dbcf5bf (patch) | |
tree | 1881c399159f914c1bb92021dfc1c24791960443 /gcc | |
parent | 2d0b4bcd6608ed65158a7d03ff33f47e5f9d5400 (diff) | |
download | gcc-538e39641081c882379aece823d4f0044dbcf5bf.zip gcc-538e39641081c882379aece823d4f0044dbcf5bf.tar.gz gcc-538e39641081c882379aece823d4f0044dbcf5bf.tar.bz2 |
spe.h (atosfix16, [...]): Declare.
* config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16,
atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64,
strtoufix16, strtoufix32, strtoufix64): Declare.
From-SVN: r88798
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/spe.h | 19 |
2 files changed, 25 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 876aad4..cc90ef7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-10-08 Joseph S. Myers <joseph@codesourcery.com> + + * config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16, + atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64, + strtoufix16, strtoufix32, strtoufix64): Declare. + 2004-10-08 Joseph S. Myers <jsm@polyomino.org.uk> * c-lex.c (interpret_float): Give a pedwarn rather than a warning diff --git a/gcc/config/rs6000/spe.h b/gcc/config/rs6000/spe.h index 1676516..878fc72 100644 --- a/gcc/config/rs6000/spe.h +++ b/gcc/config/rs6000/spe.h @@ -1088,4 +1088,23 @@ __ev_set_spefscr_frmc (int rnd) __builtin_spe_mtspefscr (i); } +/* The SPE PIM says these are declared in <spe.h>, although they are + not provided by GCC: they must be taken from a separate + library. */ +extern short int atosfix16 (const char *); +extern int atosfix32 (const char *); +extern long long atosfix64 (const char *); + +extern unsigned short atoufix16 (const char *); +extern unsigned int atoufix32 (const char *); +extern unsigned long long atoufix64 (const char *); + +extern short int strtosfix16 (const char *, char **); +extern int strtosfix32 (const char *, char **); +extern long long strtosfix64 (const char *, char **); + +extern unsigned short int strtoufix16 (const char *, char **); +extern unsigned int strtoufix32 (const char *, char **); +extern unsigned long long strtoufix64 (const char *, char **); + #endif /* _SPE_H */ |