summaryrefslogtreecommitdiff
path: root/mips
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2021-02-08 15:45:11 -0800
committerOri Bernstein <ori@eigenstate.org>2021-02-08 15:45:11 -0800
commit566c3ca2de98761f9039e49ca5f68ee1a9ad73c4 (patch)
tree0092cb34a16eab20c8e34eb72c017fd10c069875 /mips
parent491fe2515890fc4e624af72f15775fd48510486a (diff)
downloadplan9front-566c3ca2de98761f9039e49ca5f68ee1a9ad73c4.tar.xz
ape: sync flaot.h macros with u.h
The float.h macros got out of sync with u.h, some of them missing and some of them being incorrect. This change brings them back in line.
Diffstat (limited to 'mips')
-rw-r--r--mips/include/ape/float.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mips/include/ape/float.h b/mips/include/ape/float.h
index c0992af79..2f7cf2b2c 100644
--- a/mips/include/ape/float.h
+++ b/mips/include/ape/float.h
@@ -52,9 +52,10 @@ union FPdbleword
#ifdef _PLAN9_SOURCE
/* FCR */
#define FPINEX (1<<7)
-#define FPOVFL (1<<9)
#define FPUNFL (1<<8)
+#define FPOVFL (1<<9)
#define FPZDIV (1<<10)
+#define FPINVAL (1<<11)
#define FPRNR (0<<0)
#define FPRZ (1<<0)
#define FPRPINF (2<<0)
@@ -69,5 +70,6 @@ union FPdbleword
#define FPAOVFL (1<<4)
#define FPAUNFL (1<<3)
#define FPAZDIV (1<<5)
+#define FPAINVAL (1<<6)
#endif
#endif /* __FLOAT */