Commit c414ac1d by Eric Christopher

optabs.h: Change CTI_ to COI_.

2005-08-19  Eric Christopher  <echristo@apple.com>

        * optabs.h: Change CTI_ to COI_.
        * optabs.c: Ditto.

From-SVN: r103295
parent c8f27794
2005-08-19 Eric Christopher <echristo@apple.com>
* optabs.h: Change CTI_ to COI_.
* optabs.c: Ditto.
2005-08-19 James E Wilson <wilson@specifix.com> 2005-08-19 James E Wilson <wilson@specifix.com>
* builtins.c (expand_builtin_return_addr): Set * builtins.c (expand_builtin_return_addr): Set
......
...@@ -59,7 +59,7 @@ optab optab_table[OTI_MAX]; ...@@ -59,7 +59,7 @@ optab optab_table[OTI_MAX];
rtx libfunc_table[LTI_MAX]; rtx libfunc_table[LTI_MAX];
/* Tables of patterns for converting one mode to another. */ /* Tables of patterns for converting one mode to another. */
convert_optab convert_optab_table[CTI_MAX]; convert_optab convert_optab_table[COI_MAX];
/* Contains the optab used for each rtx code. */ /* Contains the optab used for each rtx code. */
optab code_to_optab[NUM_RTX_CODE + 1]; optab code_to_optab[NUM_RTX_CODE + 1];
...@@ -5282,7 +5282,7 @@ debug_optab_libfuncs (void) ...@@ -5282,7 +5282,7 @@ debug_optab_libfuncs (void)
} }
/* Dump the conversion optabs. */ /* Dump the conversion optabs. */
for (i = 0; i < (int) CTI_MAX; ++i) for (i = 0; i < (int) COI_MAX; ++i)
for (j = 0; j < NUM_MACHINE_MODES; ++j) for (j = 0; j < NUM_MACHINE_MODES; ++j)
for (k = 0; k < NUM_MACHINE_MODES; ++k) for (k = 0; k < NUM_MACHINE_MODES; ++k)
{ {
......
...@@ -377,33 +377,33 @@ extern GTY(()) optab optab_table[OTI_MAX]; ...@@ -377,33 +377,33 @@ extern GTY(()) optab optab_table[OTI_MAX];
/* Conversion optabs have their own table and indexes. */ /* Conversion optabs have their own table and indexes. */
enum convert_optab_index enum convert_optab_index
{ {
CTI_sext, COI_sext,
CTI_zext, COI_zext,
CTI_trunc, COI_trunc,
CTI_sfix, COI_sfix,
CTI_ufix, COI_ufix,
CTI_sfixtrunc, COI_sfixtrunc,
CTI_ufixtrunc, COI_ufixtrunc,
CTI_sfloat, COI_sfloat,
CTI_ufloat, COI_ufloat,
CTI_MAX COI_MAX
}; };
extern GTY(()) convert_optab convert_optab_table[CTI_MAX]; extern GTY(()) convert_optab convert_optab_table[COI_MAX];
#define sext_optab (convert_optab_table[CTI_sext]) #define sext_optab (convert_optab_table[COI_sext])
#define zext_optab (convert_optab_table[CTI_zext]) #define zext_optab (convert_optab_table[COI_zext])
#define trunc_optab (convert_optab_table[CTI_trunc]) #define trunc_optab (convert_optab_table[COI_trunc])
#define sfix_optab (convert_optab_table[CTI_sfix]) #define sfix_optab (convert_optab_table[COI_sfix])
#define ufix_optab (convert_optab_table[CTI_ufix]) #define ufix_optab (convert_optab_table[COI_ufix])
#define sfixtrunc_optab (convert_optab_table[CTI_sfixtrunc]) #define sfixtrunc_optab (convert_optab_table[COI_sfixtrunc])
#define ufixtrunc_optab (convert_optab_table[CTI_ufixtrunc]) #define ufixtrunc_optab (convert_optab_table[COI_ufixtrunc])
#define sfloat_optab (convert_optab_table[CTI_sfloat]) #define sfloat_optab (convert_optab_table[COI_sfloat])
#define ufloat_optab (convert_optab_table[CTI_ufloat]) #define ufloat_optab (convert_optab_table[COI_ufloat])
/* These arrays record the insn_code of insns that may be needed to /* These arrays record the insn_code of insns that may be needed to
perform input and output reloads of special objects. They provide a perform input and output reloads of special objects. They provide a
......
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