diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2010-09-22 09:41:13 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-09-22 09:41:13 +0200 |
commit | c69fa2d460106f691b14cf3bdd5d44cd8daa870a (patch) | |
tree | e46db5dd030d4869ab4129ae8bd63b1666f7d4c5 /gcc/config | |
parent | ac1fc2fcac8e833a4a1c384bc485a306f3bb78c2 (diff) | |
download | gcc-c69fa2d460106f691b14cf3bdd5d44cd8daa870a.zip gcc-c69fa2d460106f691b14cf3bdd5d44cd8daa870a.tar.gz gcc-c69fa2d460106f691b14cf3bdd5d44cd8daa870a.tar.bz2 |
i386.h (MAX_STRINGOP_ALGS): Fix typo in the name.
* config/i386/i386.h (MAX_STRINGOP_ALGS): Fix typo in the name.
* config/i386/i386.c (decide_alg): Update for rename.
From-SVN: r164509
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 748dd78..49c3c9c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -19238,7 +19238,7 @@ decide_alg (HOST_WIDE_INT count, HOST_WIDE_INT expected_size, bool memset, { unsigned int i; enum stringop_alg alg = libcall; - for (i = 0; i < NAX_STRINGOP_ALGS; i++) + for (i = 0; i < MAX_STRINGOP_ALGS; i++) { /* We get here if the algorithms that were not libcall-based were rep-prefix based and we are unable to use rep prefixes @@ -19284,7 +19284,7 @@ decide_alg (HOST_WIDE_INT count, HOST_WIDE_INT expected_size, bool memset, int i; bool any_alg_usable_p = true; - for (i = 0; i < NAX_STRINGOP_ALGS; i++) + for (i = 0; i < MAX_STRINGOP_ALGS; i++) { enum stringop_alg candidate = algs->size[i].alg; any_alg_usable_p = any_alg_usable_p && ALG_USABLE_P (candidate); diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index aa246c6..f868f98 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -90,7 +90,7 @@ enum stringop_alg unrolled_loop }; -#define NAX_STRINGOP_ALGS 4 +#define MAX_STRINGOP_ALGS 4 /* Specify what algorithm to use for stringops on known size. When size is unknown, the UNKNOWN_SIZE alg is used. When size is @@ -107,7 +107,7 @@ struct stringop_algs const struct stringop_strategy { const int max; const enum stringop_alg alg; - } size [NAX_STRINGOP_ALGS]; + } size [MAX_STRINGOP_ALGS]; }; /* Define the specific costs for a given cpu */ |