Date: Wed, 24 Jun 2015 12:19:50 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284751 - head/sys/arm64/include Message-ID: <201506241219.t5OCJoZj013445@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Wed Jun 24 12:19:49 2015 New Revision: 284751 URL: https://svnweb.freebsd.org/changeset/base/284751 Log: Fix the floating-point exception values to line up with the hardware register bits. Nothing in base uses these as they are deprecated, however third-party applications, such as perl, expect some of these functions to exist. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/include/ieeefp.h Modified: head/sys/arm64/include/ieeefp.h ============================================================================== --- head/sys/arm64/include/ieeefp.h Wed Jun 24 12:19:11 2015 (r284750) +++ head/sys/arm64/include/ieeefp.h Wed Jun 24 12:19:49 2015 (r284751) @@ -10,12 +10,12 @@ /* Deprecated FPU control interface */ /* FP exception codes */ -#define FP_EXCEPT_INV 0 -#define FP_EXCEPT_DZ 1 -#define FP_EXCEPT_OFL 2 -#define FP_EXCEPT_UFL 3 -#define FP_EXCEPT_IMP 4 -#define FP_EXCEPT_DNML 7 +#define FP_EXCEPT_INV 8 +#define FP_EXCEPT_DZ 9 +#define FP_EXCEPT_OFL 10 +#define FP_EXCEPT_UFL 11 +#define FP_EXCEPT_IMP 12 +#define FP_EXCEPT_DNML 15 typedef int fp_except_t;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506241219.t5OCJoZj013445>