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
This commit is contained in:
parent
ac1fc2fcac
commit
c69fa2d460
|
@ -1,3 +1,8 @@
|
||||||
|
2010-09-22 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
|
* config/i386/i386.h (MAX_STRINGOP_ALGS): Fix typo in the name.
|
||||||
|
* config/i386/i386.c (decide_alg): Update for rename.
|
||||||
|
|
||||||
2010-09-22 Jakub Jelinek <jakub@redhat.com>
|
2010-09-22 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR rtl-optimization/45739
|
PR rtl-optimization/45739
|
||||||
|
@ -9,8 +14,7 @@
|
||||||
* config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): Remove macros.
|
* config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): Remove macros.
|
||||||
* config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra):
|
* config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra):
|
||||||
Remove.
|
Remove.
|
||||||
* config/rs6000/rs6000.c (rs6000_output_addr_const_extra): Make
|
* config/rs6000/rs6000.c (rs6000_output_addr_const_extra): Make static.
|
||||||
static.
|
|
||||||
(TTARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
|
(TTARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
|
||||||
|
|
||||||
2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
|
2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||||
|
|
|
@ -19238,7 +19238,7 @@ decide_alg (HOST_WIDE_INT count, HOST_WIDE_INT expected_size, bool memset,
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
enum stringop_alg alg = libcall;
|
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
|
/* We get here if the algorithms that were not libcall-based
|
||||||
were rep-prefix based and we are unable to use rep prefixes
|
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;
|
int i;
|
||||||
bool any_alg_usable_p = true;
|
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;
|
enum stringop_alg candidate = algs->size[i].alg;
|
||||||
any_alg_usable_p = any_alg_usable_p && ALG_USABLE_P (candidate);
|
any_alg_usable_p = any_alg_usable_p && ALG_USABLE_P (candidate);
|
||||||
|
|
|
@ -90,7 +90,7 @@ enum stringop_alg
|
||||||
unrolled_loop
|
unrolled_loop
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NAX_STRINGOP_ALGS 4
|
#define MAX_STRINGOP_ALGS 4
|
||||||
|
|
||||||
/* Specify what algorithm to use for stringops on known size.
|
/* Specify what algorithm to use for stringops on known size.
|
||||||
When size is unknown, the UNKNOWN_SIZE alg is used. When size is
|
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 struct stringop_strategy {
|
||||||
const int max;
|
const int max;
|
||||||
const enum stringop_alg alg;
|
const enum stringop_alg alg;
|
||||||
} size [NAX_STRINGOP_ALGS];
|
} size [MAX_STRINGOP_ALGS];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Define the specific costs for a given cpu */
|
/* Define the specific costs for a given cpu */
|
||||||
|
|
Loading…
Reference in New Issue