From d46aed512ee2db1c96652a08718660dedcb2a68f Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 4 Nov 2004 13:48:59 +0000 Subject: [PATCH] bitmap.h: Fix a comment typo. * bitmap.h: Fix a comment typo. Follow spelling conventions. * tree-vectorizer.c: Fix a comment typo. From-SVN: r90062 --- gcc/ChangeLog | 5 +++++ gcc/bitmap.h | 22 +++++++++++----------- gcc/tree-vectorizer.c | 2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa14d0f7e22..033e47b2f4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-04 Kazu Hirata + + * bitmap.h: Fix a comment typo. Follow spelling conventions. + * tree-vectorizer.c: Fix a comment typo. + 2004-11-04 Kazu Hirata * sdbout.c (SDB_GENERATE_FAKE): Remove. diff --git a/gcc/bitmap.h b/gcc/bitmap.h index f46dcf4c2ba..5c377cfd187 100644 --- a/gcc/bitmap.h +++ b/gcc/bitmap.h @@ -358,7 +358,7 @@ bmp_iter_and_compl_init (bitmap_iterator *bi, bitmap map1, bitmap map2, } /* Advance to the next bit in BI. We don't advance to the next - non-zero bit yet. */ + nonzero bit yet. */ static inline void bmp_iter_next (bitmap_iterator *bi, unsigned *bit_no) @@ -367,14 +367,14 @@ bmp_iter_next (bitmap_iterator *bi, unsigned *bit_no) *bit_no += 1; } -/* Advance to the next non-zero bit of a single bitmap, we will have +/* Advance to the next nonzero bit of a single bitmap, we will have already advanced past the just iterated bit. Return true if there is a bit to iterate. */ static inline bool bmp_iter_set (bitmap_iterator *bi, unsigned *bit_no) { - /* If our current word is non-zero, it contains the bit we want. */ + /* If our current word is nonzero, it contains the bit we want. */ if (bi->bits) { next_bit: @@ -395,7 +395,7 @@ bmp_iter_set (bitmap_iterator *bi, unsigned *bit_no) while (1) { - /* Find the next non-zero word in this elt. */ + /* Find the next nonzero word in this elt. */ while (bi->word_no != BITMAP_ELEMENT_WORDS) { bi->bits = bi->elt1->bits[bi->word_no]; @@ -414,14 +414,14 @@ bmp_iter_set (bitmap_iterator *bi, unsigned *bit_no) } } -/* Advance to the next non-zero bit of an intersecting pair of - bitmaps. We will have alreadt advanced past the just iterated bit. +/* Advance to the next nonzero bit of an intersecting pair of + bitmaps. We will have already advanced past the just iterated bit. Return true if there is a bit to iterate. */ static inline bool bmp_iter_and (bitmap_iterator *bi, unsigned *bit_no) { - /* If our current word is non-zero, it contains the bit we want. */ + /* If our current word is nonzero, it contains the bit we want. */ if (bi->bits) { next_bit: @@ -442,7 +442,7 @@ bmp_iter_and (bitmap_iterator *bi, unsigned *bit_no) while (1) { - /* Find the next non-zero word in this elt. */ + /* Find the next nonzero word in this elt. */ while (bi->word_no != BITMAP_ELEMENT_WORDS) { bi->bits = bi->elt1->bits[bi->word_no] & bi->elt2->bits[bi->word_no]; @@ -481,14 +481,14 @@ bmp_iter_and (bitmap_iterator *bi, unsigned *bit_no) } } -/* Advance to the next non-zero bit in the intersection of +/* Advance to the next nonzero bit in the intersection of complemented bitmaps. We will have already advanced past the just iterated bit. */ static inline bool bmp_iter_and_compl (bitmap_iterator *bi, unsigned *bit_no) { - /* If our current word is non-zero, it contains the bit we want. */ + /* If our current word is nonzero, it contains the bit we want. */ if (bi->bits) { next_bit: @@ -509,7 +509,7 @@ bmp_iter_and_compl (bitmap_iterator *bi, unsigned *bit_no) while (1) { - /* Find the next non-zero word in this elt. */ + /* Find the next nonzero word in this elt. */ while (bi->word_no != BITMAP_ELEMENT_WORDS) { bi->bits = bi->elt1->bits[bi->word_no]; diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 2d75a557c9c..8e50045d435 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -4426,7 +4426,7 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo) in code size). The scheme we use FORNOW: peel to force the alignment of the first - misaliged store in the loop. + misaligned store in the loop. Rationale: misaligned store are not yet supported. TODO: Use a better cost model. */ -- 2.30.2