diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-09-21 12:00:08 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-25 05:34:59 -0400 |
commit | baf97ce6eda5891ee45fae9c1b06db855bb697e1 (patch) | |
tree | 6fea562bd69bd3a2a807853fb20f04ff9c5e4063 /arch/arm/vfp/vfp.h | |
parent | 4cc9bd2eaa1063c68341c1c00e66660adcfdf254 (diff) |
[ARM] Cleanups for 4cc9bd2eaa1063c68341c1c00e66660adcfdf254
- Document the meaning for OP_SCALAR, OP_SD and add OP_DD.
- Formatting cleanups
- Remove now redundant code for making compare instructions
operate on scalar values.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/vfp/vfp.h')
-rw-r--r-- | arch/arm/vfp/vfp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/vfp/vfp.h b/arch/arm/vfp/vfp.h index 19ace2e37789..f2797896e6d5 100644 --- a/arch/arm/vfp/vfp.h +++ b/arch/arm/vfp/vfp.h | |||
@@ -357,10 +357,14 @@ u32 vfp_estimate_sqrt_significand(u32 exponent, u32 significand); | |||
357 | #define VFP_EXCEPTION_ERROR ((u32)-1 & ~VFP_NAN_FLAG) | 357 | #define VFP_EXCEPTION_ERROR ((u32)-1 & ~VFP_NAN_FLAG) |
358 | 358 | ||
359 | /* | 359 | /* |
360 | * A flag to tell vfp instruction type | 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. | ||
361 | */ | 364 | */ |
362 | #define OP_SCALAR (1 << 0) | 365 | #define OP_SCALAR (1 << 0) |
363 | #define OP_SD (1 << 1) | 366 | #define OP_SD (1 << 1) |
367 | #define OP_DD (1 << 1) | ||
364 | 368 | ||
365 | struct op { | 369 | struct op { |
366 | u32 (* const fn)(int dd, int dn, int dm, u32 fpscr); | 370 | u32 (* const fn)(int dd, int dn, int dm, u32 fpscr); |