diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-15 02:22:34 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-15 02:22:34 +0000 |
commit | ef90fb885deabc54ccc7fee7b72e4d6ea9321542 (patch) | |
tree | ac3588a58431f568370068aa0143744ed6e9a206 /lib/builtins | |
parent | 6ff852fe1b49518b4f6419792c9381b43d3e1f7c (diff) |
Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins')
-rw-r--r-- | lib/builtins/adddf3.c | 2 | ||||
-rw-r--r-- | lib/builtins/addsf3.c | 2 | ||||
-rw-r--r-- | lib/builtins/arm/comparesf2.S | 2 | ||||
-rw-r--r-- | lib/builtins/comparedf2.c | 2 | ||||
-rw-r--r-- | lib/builtins/comparesf2.c | 2 | ||||
-rw-r--r-- | lib/builtins/comparetf2.c | 2 | ||||
-rw-r--r-- | lib/builtins/divdf3.c | 2 | ||||
-rw-r--r-- | lib/builtins/ppc/fixtfdi.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/lib/builtins/adddf3.c b/lib/builtins/adddf3.c index a55e82d21..7f196679d 100644 --- a/lib/builtins/adddf3.c +++ b/lib/builtins/adddf3.c @@ -101,7 +101,7 @@ __adddf3(fp_t a, fp_t b) { // If a == -b, return +zero. if (aSignificand == 0) return fromRep(0); - // If partial cancellation occured, we need to left-shift the result + // If partial cancellation occurred, we need to left-shift the result // and adjust the exponent: if (aSignificand < implicitBit << 3) { const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); diff --git a/lib/builtins/addsf3.c b/lib/builtins/addsf3.c index d528c8a72..446042ffc 100644 --- a/lib/builtins/addsf3.c +++ b/lib/builtins/addsf3.c @@ -101,7 +101,7 @@ __addsf3(fp_t a, fp_t b) { // If a == -b, return +zero. if (aSignificand == 0) return fromRep(0); - // If partial cancellation occured, we need to left-shift the result + // If partial cancellation occurred, we need to left-shift the result // and adjust the exponent: if (aSignificand < implicitBit << 3) { const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); diff --git a/lib/builtins/arm/comparesf2.S b/lib/builtins/arm/comparesf2.S index 09f72858b..cf71d36e0 100644 --- a/lib/builtins/arm/comparesf2.S +++ b/lib/builtins/arm/comparesf2.S @@ -107,7 +107,7 @@ DEFINE_COMPILERRT_FUNCTION_ALIAS(__nesf2, __eqsf2) .p2align 2 DEFINE_COMPILERRT_FUNCTION(__gtsf2) - // Identical to the preceeding except in that we return -1 for NaN values. + // Identical to the preceding except in that we return -1 for NaN values. // Given that the two paths share so much code, one might be tempted to // unify them; however, the extra code needed to do so makes the code size // to performance tradeoff very hard to justify for such small functions. diff --git a/lib/builtins/comparedf2.c b/lib/builtins/comparedf2.c index 877ed7d3a..64eea1249 100644 --- a/lib/builtins/comparedf2.c +++ b/lib/builtins/comparedf2.c @@ -117,7 +117,7 @@ __unorddf2(fp_t a, fp_t b) { return aAbs > infRep || bAbs > infRep; } -// The following are alternative names for the preceeding routines. +// The following are alternative names for the preceding routines. COMPILER_RT_ABI enum LE_RESULT __eqdf2(fp_t a, fp_t b) { diff --git a/lib/builtins/comparesf2.c b/lib/builtins/comparesf2.c index df1c45796..442289c10 100644 --- a/lib/builtins/comparesf2.c +++ b/lib/builtins/comparesf2.c @@ -117,7 +117,7 @@ __unordsf2(fp_t a, fp_t b) { return aAbs > infRep || bAbs > infRep; } -// The following are alternative names for the preceeding routines. +// The following are alternative names for the preceding routines. COMPILER_RT_ABI enum LE_RESULT __eqsf2(fp_t a, fp_t b) { diff --git a/lib/builtins/comparetf2.c b/lib/builtins/comparetf2.c index ed51fbae3..a6436de89 100644 --- a/lib/builtins/comparetf2.c +++ b/lib/builtins/comparetf2.c @@ -112,7 +112,7 @@ COMPILER_RT_ABI int __unordtf2(fp_t a, fp_t b) { return aAbs > infRep || bAbs > infRep; } -// The following are alternative names for the preceeding routines. +// The following are alternative names for the preceding routines. COMPILER_RT_ABI enum LE_RESULT __eqtf2(fp_t a, fp_t b) { return __letf2(a, b); diff --git a/lib/builtins/divdf3.c b/lib/builtins/divdf3.c index 70da630e9..ab44c2b25 100644 --- a/lib/builtins/divdf3.c +++ b/lib/builtins/divdf3.c @@ -98,7 +98,7 @@ __divdf3(fp_t a, fp_t b) { correction32 = -((uint64_t)recip32 * q31b >> 32); recip32 = (uint64_t)recip32 * correction32 >> 31; - // recip32 might have overflowed to exactly zero in the preceeding + // recip32 might have overflowed to exactly zero in the preceding // computation if the high word of b is exactly 1.0. This would sabotage // the full-width final stage of the computation that follows, so we adjust // recip32 downward by one bit. diff --git a/lib/builtins/ppc/fixtfdi.c b/lib/builtins/ppc/fixtfdi.c index 56e7b3fbf..2c7c0f8e2 100644 --- a/lib/builtins/ppc/fixtfdi.c +++ b/lib/builtins/ppc/fixtfdi.c @@ -25,7 +25,7 @@ uint64_t __fixtfdi(long double input) int64_t result = hibits.x & INT64_C(0x000fffffffffffff); /* mantissa(hi) */ result |= INT64_C(0x0010000000000000); /* matissa(hi) with implicit bit */ - result <<= 10; /* mantissa(hi) with one zero preceeding bit. */ + result <<= 10; /* mantissa(hi) with one zero preceding bit. */ const int64_t hiNegationMask = ((int64_t)(hibits.x)) >> 63; |