-/* $OpenBSD: fpgetmask.c,v 1.2 2021/04/29 17:19:18 kettenis Exp $ */
+/* $OpenBSD: fpgetmask.c,v 1.3 2021/04/30 16:13:00 drahn Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
{
return 0;
}
-DEF_WEAK(fpgetmask);
-/* $OpenBSD: fpgetsticky.c,v 1.1 2021/04/29 17:19:18 kettenis Exp $ */
+/* $OpenBSD: fpgetsticky.c,v 1.2 2021/04/30 16:13:00 drahn Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
__asm volatile ("frflags %0" : "=r"(fflags));
return fflags;
}
-DEF_WEAK(fpgetsticky);
-/* $OpenBSD: fpsetmask.c,v 1.2 2021/04/29 17:19:18 kettenis Exp $ */
+/* $OpenBSD: fpsetmask.c,v 1.3 2021/04/30 16:13:00 drahn Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
{
return 0;
}
-DEF_WEAK(fpsetmask);
-/* $OpenBSD: fpsetround.c,v 1.1 2021/04/29 17:19:18 kettenis Exp $ */
+/* $OpenBSD: fpsetround.c,v 1.2 2021/04/30 16:13:00 drahn Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
/* Truncating to 2 bits means both RNE and RMM become FP_RN. */
return frm & 0x3;
}
-DEF_WEAK(fpsetround);
-/* $OpenBSD: fpsetsticky.c,v 1.1 2021/04/29 17:19:18 kettenis Exp $ */
+/* $OpenBSD: fpsetsticky.c,v 1.2 2021/04/30 16:13:00 drahn Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
__asm volatile ("fsflags %0, %1" : "=r"(fflags) : "r"(sticky));
return fflags;
}
-DEF_WEAK(fpsetsticky);