Commit d46aed51 by Kazu Hirata Committed by Kazu Hirata

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
parent 37bf6443
2004-11-04 Kazu Hirata <kazu@cs.umass.edu> 2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
* bitmap.h: Fix a comment typo. Follow spelling conventions.
* tree-vectorizer.c: Fix a comment typo.
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
* sdbout.c (SDB_GENERATE_FAKE): Remove. * sdbout.c (SDB_GENERATE_FAKE): Remove.
(gen_fake_label): Don't use SDB_GENERATE_FAKE. (gen_fake_label): Don't use SDB_GENERATE_FAKE.
* system.h: Poison SDB_GENERATE_FAKE. * system.h: Poison SDB_GENERATE_FAKE.
......
...@@ -358,7 +358,7 @@ bmp_iter_and_compl_init (bitmap_iterator *bi, bitmap map1, bitmap map2, ...@@ -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 /* Advance to the next bit in BI. We don't advance to the next
non-zero bit yet. */ nonzero bit yet. */
static inline void static inline void
bmp_iter_next (bitmap_iterator *bi, unsigned *bit_no) bmp_iter_next (bitmap_iterator *bi, unsigned *bit_no)
...@@ -367,14 +367,14 @@ 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; *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 already advanced past the just iterated bit. Return true if there
is a bit to iterate. */ is a bit to iterate. */
static inline bool static inline bool
bmp_iter_set (bitmap_iterator *bi, unsigned *bit_no) 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) if (bi->bits)
{ {
next_bit: next_bit:
...@@ -395,7 +395,7 @@ bmp_iter_set (bitmap_iterator *bi, unsigned *bit_no) ...@@ -395,7 +395,7 @@ bmp_iter_set (bitmap_iterator *bi, unsigned *bit_no)
while (1) 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) while (bi->word_no != BITMAP_ELEMENT_WORDS)
{ {
bi->bits = bi->elt1->bits[bi->word_no]; bi->bits = bi->elt1->bits[bi->word_no];
...@@ -414,14 +414,14 @@ bmp_iter_set (bitmap_iterator *bi, unsigned *bit_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 /* Advance to the next nonzero bit of an intersecting pair of
bitmaps. We will have alreadt advanced past the just iterated bit. bitmaps. We will have already advanced past the just iterated bit.
Return true if there is a bit to iterate. */ Return true if there is a bit to iterate. */
static inline bool static inline bool
bmp_iter_and (bitmap_iterator *bi, unsigned *bit_no) 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) if (bi->bits)
{ {
next_bit: next_bit:
...@@ -442,7 +442,7 @@ bmp_iter_and (bitmap_iterator *bi, unsigned *bit_no) ...@@ -442,7 +442,7 @@ bmp_iter_and (bitmap_iterator *bi, unsigned *bit_no)
while (1) 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) while (bi->word_no != BITMAP_ELEMENT_WORDS)
{ {
bi->bits = bi->elt1->bits[bi->word_no] & bi->elt2->bits[bi->word_no]; 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) ...@@ -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 complemented bitmaps. We will have already advanced past the just
iterated bit. */ iterated bit. */
static inline bool static inline bool
bmp_iter_and_compl (bitmap_iterator *bi, unsigned *bit_no) 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) if (bi->bits)
{ {
next_bit: next_bit:
...@@ -509,7 +509,7 @@ bmp_iter_and_compl (bitmap_iterator *bi, unsigned *bit_no) ...@@ -509,7 +509,7 @@ bmp_iter_and_compl (bitmap_iterator *bi, unsigned *bit_no)
while (1) 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) while (bi->word_no != BITMAP_ELEMENT_WORDS)
{ {
bi->bits = bi->elt1->bits[bi->word_no]; bi->bits = bi->elt1->bits[bi->word_no];
......
...@@ -4426,7 +4426,7 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo) ...@@ -4426,7 +4426,7 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo)
in code size). in code size).
The scheme we use FORNOW: peel to force the alignment of the first 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. Rationale: misaligned store are not yet supported.
TODO: Use a better cost model. */ TODO: Use a better cost model. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment