diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-03-24 16:35:00 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-03-24 16:35:00 +0000 |
| commit | 1e8781edb296be22fed3bd5588151e465ac5c4ac (patch) | |
| tree | 9c6d1fa0494e3c6f1277e74b1cb7c3d504d027d7 /Linux/arm/include/fpuctl.h | |
| parent | 662e797001aeaf4a8acfe46e5c12a52b862ff492 (diff) | |
empty fpuctl.h
Diffstat (limited to 'Linux/arm/include/fpuctl.h')
| -rw-r--r-- | Linux/arm/include/fpuctl.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/Linux/arm/include/fpuctl.h b/Linux/arm/include/fpuctl.h index 7903c04b..e69de29b 100644 --- a/Linux/arm/include/fpuctl.h +++ b/Linux/arm/include/fpuctl.h @@ -1,52 +0,0 @@ -/* - * Linux arm fpu support - * Mimic Plan9 floating point support - */ - -#include <fenv.h> - -static void -setfcr(ulong fcr) -{ -} - -static ulong -getfcr(void) -{ - ulong fcr = 0; - return fcr; -} - -static ulong -getfsr(void) -{ - ulong fsr = -1; - return fsr; -} - -static void -setfsr(ulong fsr) -{ -} - -/* FCR */ -#define FPINEX (1<<5) -#define FPUNFL ((1<<4)|(1<<1)) -#define FPOVFL (1<<3) -#define FPZDIV (1<<2) -#define FPINVAL (1<<0) -#define FPRNR (0<<10) -#define FPRZ (3<<10) -#define FPRPINF (2<<10) -#define FPRNINF (1<<10) -#define FPRMASK (3<<10) -#define FPPEXT (3<<8) -#define FPPSGL (0<<8) -#define FPPDBL (2<<8) -#define FPPMASK (3<<8) -/* FSR */ -#define FPAINEX FPINEX -#define FPAOVFL FPOVFL -#define FPAUNFL FPUNFL -#define FPAZDIV FPZDIV -#define FPAINVAL FPINVAL |
