On 23/07/2020 21:41, Eshan dhawan wrote:
-#include "../../fenv/fenv_stub.c"
+#include <fenv.h>
+
+int feclearexcept(int excepts)
+{
+#ifndef __SOFTFP__
+ fexcept_t __fpsr;
+
+ vmrs_fpscr(__fpsr);
+ __fpsr &= ~excepts;
+ vmsr_fpscr(__fpsr);
+#endif
+ return (0);
+}
Where is vmrs_fpscr() defined? Please add a header file for this, for
example
newlib/libm/machine/arm/_fenv.h
and include it via
#include "_fenv.h"
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel