From e76d65d26f672c48184586c8865d258744876469 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 13 Feb 2001 11:19:12 +0000 Subject: [PATCH] Even more breakage. Sorry! From-SVN: r39626 --- gcc/config/i386/i386-protos.h | 7 +++++++ gcc/config/i386/i386.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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