diff options
Diffstat (limited to 'arch/arm/vfp/vfp.h')
-rw-r--r-- | arch/arm/vfp/vfp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/vfp/vfp.h b/arch/arm/vfp/vfp.h index 96fdf30f6a3b..f2797896e6d5 100644 --- a/arch/arm/vfp/vfp.h +++ b/arch/arm/vfp/vfp.h | |||
@@ -355,3 +355,18 @@ u32 vfp_estimate_sqrt_significand(u32 exponent, u32 significand); | |||
355 | * we check for an error. | 355 | * we check for an error. |
356 | */ | 356 | */ |
357 | #define VFP_EXCEPTION_ERROR ((u32)-1 & ~VFP_NAN_FLAG) | 357 | #define VFP_EXCEPTION_ERROR ((u32)-1 & ~VFP_NAN_FLAG) |
358 | |||
359 | /* | ||
360 | * A flag to tell vfp instruction type. | ||
361 | * OP_SCALAR - this operation always operates in scalar mode | ||
362 | * OP_SD - the instruction exceptionally writes to a single precision result. | ||
363 | * OP_DD - the instruction exceptionally writes to a double precision result. | ||
364 | */ | ||
365 | #define OP_SCALAR (1 << 0) | ||
366 | #define OP_SD (1 << 1) | ||
367 | #define OP_DD (1 << 1) | ||
368 | |||
369 | struct op { | ||
370 | u32 (* const fn)(int dd, int dn, int dm, u32 fpscr); | ||
371 | u32 flags; | ||
372 | }; | ||