#include <linux/types.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/perf_event.h>
#include <asm/uaccess.h>
#include "sfp-util_32.h"
#include <math-emu/soft-fp.h>
#include <math-emu/single.h>
#include <math-emu/double.h>
#include <math-emu/quad.h>
Go to the source code of this file.
| #define FABSS 0x009 /* v6 */ |
| #define FADDD 0x042 /* v6 */ |
| #define FADDQ 0x043 /* v8 */ |
| #define FADDS 0x041 /* v6 */ |
| #define FCMPD 0x052 /* v6 */ |
| #define FCMPED 0x056 /* v6 */ |
| #define FCMPEQ 0x057 /* v8 */ |
| #define FCMPES 0x055 /* v6 */ |
| #define FCMPQ 0x053 /* v8 */ |
| #define FCMPS 0x051 /* v6 */ |
| #define FDIVD 0x04e /* v6 */ |
| #define FDIVQ 0x04f /* v8 */ |
| #define FDIVS 0x04d /* v6 */ |
| #define FDMULQ 0x06e /* v8 */ |
| #define FDTOI 0x0d2 /* v6 */ |
| #define FDTOQ 0x0ce /* v8 */ |
| #define FDTOS 0x0c6 /* v6 */ |
| #define FITOD 0x0c8 /* v6 */ |
| #define FITOQ 0x0cc /* v8 */ |
| #define FITOS 0x0c4 /* v6 */ |
| #define FMOVS 0x001 /* v6 */ |
| #define FMULD 0x04a /* v6 */ |
| #define FMULQ 0x04b /* v8 */ |
| #define FMULS 0x049 /* v6 */ |
| #define FNEGS 0x005 /* v6 */ |
| #define FQTOD 0x0cb /* v8 */ |
| #define FQTOI 0x0d3 /* v8 */ |
| #define FQTOS 0x0c7 /* v8 */ |
| #define FSMULD 0x069 /* v6 */ |
| #define FSQRTD 0x02a /* v7 */ |
| #define FSQRTQ 0x02b /* v8 */ |
| #define FSQRTS 0x029 /* v7 */ |
| #define FSR_AEXC_MASK (0x1fUL << FSR_AEXC_SHIFT) |
| #define FSR_AEXC_SHIFT 5UL |
| #define FSR_CEXC_MASK (0x1fUL << FSR_CEXC_SHIFT) |
| #define FSR_CEXC_SHIFT 0UL |
| #define FSR_TEM_MASK (0x1fUL << FSR_TEM_SHIFT) |
| #define FSR_TEM_SHIFT 23UL |
| #define FSTOD 0x0c9 /* v6 */ |
| #define FSTOI 0x0d1 /* v6 */ |
| #define FSTOQ 0x0cd /* v8 */ |
| #define FSUBD 0x046 /* v6 */ |
| #define FSUBQ 0x047 /* v8 */ |
| #define FSUBS 0x045 /* v6 */ |
| #define TYPE |
( |
|
dummy, |
|
|
|
r, |
|
|
|
ru, |
|
|
|
b, |
|
|
|
bu, |
|
|
|
a, |
|
|
|
au |
|
) |
| type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru << 8) | (r << 6) |