diff options
author | David S. Miller <davem@davemloft.net> | 2012-02-27 15:24:09 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-27 15:26:06 -0800 |
commit | d674b76d0e46202ab8fd582b9d44d918d5fdd3e7 (patch) | |
tree | ff2006eec89c8dfeca01a48771575600df5bd013 /sysdeps | |
parent | 0e7727f71db5d393cf7374704d62d7ff23992950 (diff) | |
download | glibc-d674b76d0e46202ab8fd582b9d44d918d5fdd3e7.tar.gz glibc-d674b76d0e46202ab8fd582b9d44d918d5fdd3e7.tar.xz glibc-d674b76d0e46202ab8fd582b9d44d918d5fdd3e7.zip |
Fix comment formatting in new optimized sparc math files.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S | 45 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S | 45 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S | 13 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S | 13 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_ceil.S | 45 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_ceilf.S | 45 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_rint.S | 13 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_rintf.S | 13 |
8 files changed, 112 insertions, 120 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S index 7364f827d2..5e32b68aac 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S @@ -20,29 +20,28 @@ #include <sysdep.h> /* Since changing the rounding mode is extremely expensive, we - * try to round up using a method that is rounding mode - * agnostic. - * - * We add then subtract (or subtract than add if the initial - * value was negative) 2**23 to the value, then subtract it - * back out. - * - * This will clear out the fractional portion of the value. - * One of two things will happen for non-whole initial values. - * Either the rounding mode will round it up, or it will be - * rounded down. If the value started out whole, it will be - * equal after the addition and subtraction. This means we - * can accurately detect with one test whether we need to add - * another 1.0 to round it up properly. - * - * We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + try to round up using a method that is rounding mode + agnostic. + + We add then subtract (or subtract than add if the initial + value was negative) 2**23 to the value, then subtract it + back out. + + This will clear out the fractional portion of the value. + One of two things will happen for non-whole initial values. + Either the rounding mode will round it up, or it will be + rounded down. If the value started out whole, it will be + equal after the addition and subtraction. This means we + can accurately detect with one test whether we need to add + another 1.0 to round it up properly. + + We pop constants into the FPU registers using the incoming + argument stack slots, since this avoid having to use any + PIC references. We also thus avoid having to allocate a + register window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */ #define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */ diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S index fbc6faa7d7..e5129fdba1 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S @@ -20,29 +20,28 @@ #include <sysdep.h> /* Since changing the rounding mode is extremely expensive, we - * try to round up using a method that is rounding mode - * agnostic. - * - * We add then subtract (or subtract than add if the initial - * value was negative) 2**23 to the value, then subtract it - * back out. - * - * This will clear out the fractional portion of the value. - * One of two things will happen for non-whole initial values. - * Either the rounding mode will round it up, or it will be - * rounded down. If the value started out whole, it will be - * equal after the addition and subtraction. This means we - * can accurately detect with one test whether we need to add - * another 1.0 to round it up properly. - * - * We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + try to round up using a method that is rounding mode + agnostic. + + We add then subtract (or subtract than add if the initial + value was negative) 2**23 to the value, then subtract it + back out. + + This will clear out the fractional portion of the value. + One of two things will happen for non-whole initial values. + Either the rounding mode will round it up, or it will be + rounded down. If the value started out whole, it will be + equal after the addition and subtraction. This means we + can accurately detect with one test whether we need to add + another 1.0 to round it up properly. + + We pop constants into the FPU registers using the incoming + argument stack slots, since this avoid having to use any + PIC references. We also thus avoid having to allocate a + register window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ #define ONE_DOT_ZERO 0x3f800000 /* 1.0 */ diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S index 8cae9b8ba7..9f9fddd462 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S @@ -20,13 +20,12 @@ #include <sysdep.h> /* We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + argument stack slots, since this avoid having to use any PIC + references. We also thus avoid having to allocate a register + window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */ diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S index 2e67fa72ef..c053c55b8d 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S @@ -20,13 +20,12 @@ #include <sysdep.h> /* We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + argument stack slots, since this avoid having to use any PIC + references. We also thus avoid having to allocate a register + window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ diff --git a/sysdeps/sparc/sparc64/fpu/s_ceil.S b/sysdeps/sparc/sparc64/fpu/s_ceil.S index 7e9bfef06a..85d1a3cbd1 100644 --- a/sysdeps/sparc/sparc64/fpu/s_ceil.S +++ b/sysdeps/sparc/sparc64/fpu/s_ceil.S @@ -20,29 +20,28 @@ #include <sysdep.h> /* Since changing the rounding mode is extremely expensive, we - * try to round up using a method that is rounding mode - * agnostic. - * - * We add then subtract (or subtract than add if the initial - * value was negative) 2**23 to the value, then subtract it - * back out. - * - * This will clear out the fractional portion of the value. - * One of two things will happen for non-whole initial values. - * Either the rounding mode will round it up, or it will be - * rounded down. If the value started out whole, it will be - * equal after the addition and subtraction. This means we - * can accurately detect with one test whether we need to add - * another 1.0 to round it up properly. - * - * We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + try to round up using a method that is rounding mode + agnostic. + + We add then subtract (or subtract than add if the initial + value was negative) 2**23 to the value, then subtract it + back out. + + This will clear out the fractional portion of the value. + One of two things will happen for non-whole initial values. + Either the rounding mode will round it up, or it will be + rounded down. If the value started out whole, it will be + equal after the addition and subtraction. This means we + can accurately detect with one test whether we need to add + another 1.0 to round it up properly. + + We pop constants into the FPU registers using the incoming + argument stack slots, since this avoid having to use any + PIC references. We also thus avoid having to allocate a + register window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */ #define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */ diff --git a/sysdeps/sparc/sparc64/fpu/s_ceilf.S b/sysdeps/sparc/sparc64/fpu/s_ceilf.S index 1ae7f7ad71..dd5c2f0c79 100644 --- a/sysdeps/sparc/sparc64/fpu/s_ceilf.S +++ b/sysdeps/sparc/sparc64/fpu/s_ceilf.S @@ -20,29 +20,28 @@ #include <sysdep.h> /* Since changing the rounding mode is extremely expensive, we - * try to round up using a method that is rounding mode - * agnostic. - * - * We add then subtract (or subtract than add if the initial - * value was negative) 2**23 to the value, then subtract it - * back out. - * - * This will clear out the fractional portion of the value. - * One of two things will happen for non-whole initial values. - * Either the rounding mode will round it up, or it will be - * rounded down. If the value started out whole, it will be - * equal after the addition and subtraction. This means we - * can accurately detect with one test whether we need to add - * another 1.0 to round it up properly. - * - * We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + try to round up using a method that is rounding mode + agnostic. + + We add then subtract (or subtract than add if the initial + value was negative) 2**23 to the value, then subtract it + back out. + + This will clear out the fractional portion of the value. + One of two things will happen for non-whole initial values. + Either the rounding mode will round it up, or it will be + rounded down. If the value started out whole, it will be + equal after the addition and subtraction. This means we + can accurately detect with one test whether we need to add + another 1.0 to round it up properly. + + We pop constants into the FPU registers using the incoming + argument stack slots, since this avoid having to use any + PIC references. We also thus avoid having to allocate a + register window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ #define ONE_DOT_ZERO 0x3f800000 /* 1.0 */ diff --git a/sysdeps/sparc/sparc64/fpu/s_rint.S b/sysdeps/sparc/sparc64/fpu/s_rint.S index 38b6135de1..4589e2cbc0 100644 --- a/sysdeps/sparc/sparc64/fpu/s_rint.S +++ b/sysdeps/sparc/sparc64/fpu/s_rint.S @@ -20,13 +20,12 @@ #include <sysdep.h> /* We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + argument stack slots, since this avoid having to use any PIC + references. We also thus avoid having to allocate a register + window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */ diff --git a/sysdeps/sparc/sparc64/fpu/s_rintf.S b/sysdeps/sparc/sparc64/fpu/s_rintf.S index 42fda3f306..7f7caa832e 100644 --- a/sysdeps/sparc/sparc64/fpu/s_rintf.S +++ b/sysdeps/sparc/sparc64/fpu/s_rintf.S @@ -20,13 +20,12 @@ #include <sysdep.h> /* We pop constants into the FPU registers using the incoming - * argument stack slots, since this avoid having to use any PIC - * references. We also thus avoid having to allocate a register - * window. - * - * VIS instructions are used to facilitate the formation of - * easier constants, and the propagation of the sign bit. - */ + argument stack slots, since this avoid having to use any PIC + references. We also thus avoid having to allocate a register + window. + + VIS instructions are used to facilitate the formation of + easier constants, and the propagation of the sign bit. */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ |