vserver 1.9.5.x5
[linux-2.6.git] / arch / arm / vfp / vfp.h
index 98e0f52..55a02bc 100644 (file)
@@ -249,6 +249,12 @@ struct vfp_double {
        u64     significand;
 };
 
+/*
+ * VFP_REG_ZERO is a special register number for vfp_get_double
+ * which returns (double)0.0.  This is useful for the compare with
+ * zero instructions.
+ */
+#define VFP_REG_ZERO   16
 extern u64 vfp_get_double(unsigned int reg);
 extern void vfp_put_double(unsigned int reg, u64 val);
 
@@ -331,3 +337,8 @@ extern u32 vfp_get_sys(unsigned int reg);
 extern void vfp_put_sys(unsigned int reg, u32 val);
 
 u32 vfp_estimate_sqrt_significand(u32 exponent, u32 significand);
+
+/*
+ * A special flag to tell the normalisation code not to normalise.
+ */
+#define VFP_NAN_FLAG   0x100