summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/spe.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-08 22:45:48 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-08 22:45:48 +0000
commitda2c7f04b33af9114194e995fa82701f5a897e9a (patch)
tree1881c399159f914c1bb92021dfc1c24791960443 /gcc/config/rs6000/spe.h
parentca9ccc0ddae49af41343e3d90445d023616e4d6b (diff)
downloadgcc-da2c7f04b33af9114194e995fa82701f5a897e9a.tar.gz
* config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16,
atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64, strtoufix16, strtoufix32, strtoufix64): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88798 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/spe.h')
-rw-r--r--gcc/config/rs6000/spe.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/config/rs6000/spe.h b/gcc/config/rs6000/spe.h
index 16765161fde..878fc72b2e5 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 */