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:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user