aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorMinsoo Choo <minsoochoo0122@proton.me>2026-01-10 04:32:35 +0000
committerWarner Losh <imp@FreeBSD.org>2026-01-12 07:51:05 +0000
commitc5dc38bcc2916018566b3b6eb46bcbbc68adf01f (patch)
tree8f99dbd2ed3059a4eec1efd4a988c6f15768ca03 /sys/powerpc/include
parent7f8b4db9e001d94974a081e5fd58c4f3994429cb (diff)
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/ieeefp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/powerpc/include/ieeefp.h b/sys/powerpc/include/ieeefp.h
index 3aa92ff4522b..829e167aefae 100644
--- a/sys/powerpc/include/ieeefp.h
+++ b/sys/powerpc/include/ieeefp.h
@@ -10,19 +10,11 @@
/* Deprecated historical FPU control interface */
typedef int fp_except_t;
-#ifdef __SPE__
-#define FP_X_OFL 0x01 /* overflow exception */
-#define FP_X_UFL 0x02 /* underflow exception */
-#define FP_X_DZ 0x04 /* divide-by-zero exception */
-#define FP_X_INV 0x08 /* invalid operation exception */
-#define FP_X_IMP 0x10 /* imprecise (loss of precision) */
-#else
#define FP_X_IMP 0x01 /* imprecise (loss of precision) */
#define FP_X_DZ 0x02 /* divide-by-zero exception */
#define FP_X_UFL 0x04 /* underflow exception */
#define FP_X_OFL 0x08 /* overflow exception */
#define FP_X_INV 0x10 /* invalid operation exception */
-#endif
typedef enum {
FP_RN=0, /* round to nearest representable number */