diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-10 19:34:36 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-10 19:34:36 +0000 |
| commit | e88bb3bba2d09f27906323aceb3ed2f28cab8e24 (patch) | |
| tree | a75410aebc3dd80bbaa2e1c5f88eddd9e4fd101a /gcc/tree-vectorizer.c | |
| parent | 1755b3fda9098642aef3f808d8c9f107539b817b (diff) | |
| download | ppe42-gcc-e88bb3bba2d09f27906323aceb3ed2f28cab8e24.tar.gz ppe42-gcc-e88bb3bba2d09f27906323aceb3ed2f28cab8e24.zip | |
* tree-vectorizer.c, tree.def: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93153 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.c')
| -rw-r--r-- | gcc/tree-vectorizer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index b8908013da5..9276b89f3e5 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -1377,13 +1377,13 @@ vect_strip_conversion (tree expr) a[j].b[i][j] = 0; For a[j].b[i][j], EXPR will be 'i * C_i + j * C_j + C'. 'i' cannot be - subsituted, since its access_fn in the inner loop is i. 'j' will be + substituted, since its access_fn in the inner loop is i. 'j' will be substituted with 3. An INITIAL_OFFSET will be 'i * C_i + C`', where C` = 3 * C_j + C. Compute MISALIGN (the misalignment of the data reference initial access from its base) if possible. Misalignment can be calculated only if all the - variables can be substitued with constants, or if a variable is multiplied + variables can be substituted with constants, or if a variable is multiplied by a multiple of VECTYPE_ALIGNMENT. In the above example, since 'i' cannot be substituted, MISALIGN will be NULL_TREE in case that C_i is not a multiple of VECTYPE_ALIGNMENT, and C` otherwise. (We perform MISALIGN modulo @@ -4894,7 +4894,7 @@ vect_get_memtag_and_dr (tree memref, tree stmt, bool is_read, 1.1.1- vect_get_base_and_offset(): Calculate base, initial_offset, step and alignment. For ARRAY_REFs and COMPONENT_REFs use call get_inner_reference. - 2- vect_analyze_dependences(): apply dependece testing using ref_stmt.DR + 2- vect_analyze_dependences(): apply dependence testing using ref_stmt.DR 3- vect_analyze_drs_alignment(): check that ref_stmt.alignment is ok. 4- vect_analyze_drs_access(): check that ref_stmt.step is ok. |

