sys/arm: add fp[gs]et* prototypes to <ieeefp.h>

We have provided implementations for hard float of these for
a while now.  Add them to the header to make things official.
This is required for a bunch of legacy programs in ports.

Approved by:	markj (mentor)
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D53156
This commit is contained in:
Robert Clausecker
2025-10-17 11:30:09 +02:00
parent 4bab868a12
commit a8079d40ae
+10
View File
@@ -49,4 +49,14 @@ typedef enum {
#define fp_except_t int
/* Augment the userland declarations. */
__BEGIN_DECLS
extern fp_rnd_t fpgetround(void);
extern fp_rnd_t fpsetround(fp_rnd_t);
extern fp_except_t fpgetmask(void);
extern fp_except_t fpsetmask(fp_except_t);
extern fp_except_t fpgetsticky(void);
extern fp_except_t fpsetsticky(fp_except_t);
__END_DECLS
#endif /* _MACHINE_IEEEFP_H_ */