diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h index 57fdaa417b5..4c4226649cc 100644 --- a/gcc/config/i386/i386-protos.h +++ b/gcc/config/i386/i386-protos.h @@ -132,6 +132,13 @@ extern rtx ix86_force_to_memory PARAMS ((enum machine_mode, rtx)); extern void ix86_free_from_memory PARAMS ((enum machine_mode)); extern void ix86_split_fp_branch PARAMS ((rtx, rtx, rtx, rtx, rtx, rtx)); extern int ix86_hard_regno_mode_ok PARAMS ((int, enum machine_mode)); +extern int ix86_register_move_cost PARAMS ((int, enum reg_class, + enum reg_class)); +extern int ix86_secondary_memory_needed PARAMS ((enum reg_class, + enum reg_class, + enum machine_mode, int)); +extern enum reg_class ix86_preferred_reload_class PARAMS ((rtx, + enum reg_class)); #ifdef TREE_CODE extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx)); diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 13ef600eb62..3f06d08037f 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -2350,7 +2350,7 @@ while (0) general registers. */ #define REGISTER_MOVE_COST(MODE, CLASS1, CLASS2) \ - ix86_register_move_cost (mode, class1, class2); + ix86_register_move_cost (MODE, CLASS1, CLASS2) /* A C expression for the cost of moving data of mode M between a register and memory. A value of 2 is the default; this cost is