diff options
| author | charles forsyth <charles.forsyth@gmail.com> | 2014-05-18 14:19:01 +0100 |
|---|---|---|
| committer | charles forsyth <charles.forsyth@gmail.com> | 2014-05-18 14:19:01 +0100 |
| commit | 37e9221a5d1905cba45c96ac44dbe26d947bc4af (patch) | |
| tree | 87bf6a76dc94bc638418883e0ca21afcfa2ad78f /lib9/setfcr-Linux-arm.c | |
| parent | 7e479951464b9bb71e87aeef19d908e9fb9be494 (diff) | |
20140518-1419
Diffstat (limited to 'lib9/setfcr-Linux-arm.c')
| -rw-r--r-- | lib9/setfcr-Linux-arm.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib9/setfcr-Linux-arm.c b/lib9/setfcr-Linux-arm.c new file mode 100644 index 00000000..eb77b872 --- /dev/null +++ b/lib9/setfcr-Linux-arm.c @@ -0,0 +1,32 @@ +/* + * Linux arm fpu support + * Mimic Plan9 floating point support + */ + +#include "lib9.h" + +#include <fenv.h> + +void +setfcr(ulong fcr) +{ +} + +ulong +getfcr(void) +{ + ulong fcr = 0; + return fcr; +} + +ulong +getfsr(void) +{ + ulong fsr = -1; + return fsr; +} + +void +setfsr(ulong fsr) +{ +} |
