Fix bug found by make bootstrap failure. Eliminate some warnings.

* config/ia64/ia64.c (ia64_compute_frame_size): Align size to
	STACK_BOUNDARY.
	* config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.

From-SVN: r32487
This commit is contained in:
Jim Wilson 2000-03-12 08:00:08 +00:00 committed by Jim Wilson
parent 5e2ee78da9
commit 294dac8081
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
* config/ia64/ia64.c (ia64_compute_frame_size): Align size to
STACK_BOUNDARY.
* config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):

View File

@ -521,6 +521,10 @@ ia64_compute_frame_size (size)
int regno;
HARD_REG_SET mask;
/* Reload used to round the frame size to STACK_BOUNDARY. Now we do it
here. */
size = IA64_STACK_ALIGN (size);
CLEAR_HARD_REG_SET (mask);
/* Calculate space needed for general registers. */

View File

@ -1907,10 +1907,10 @@ do { \
#define REGISTER_MOVE_COST(FROM, TO) \
((FROM) == BR_REGS && (TO) == BR_REGS ? 8 \
: ((FROM) == BR_REGS && (TO) != GENERAL_REGS \
|| (TO) == BR_REGS && (FROM) != GENERAL_REGS) ? 6 \
: ((FROM) == FR_FP_REGS && (TO) == FR_INT_REGS \
|| (FROM) == FR_INT_REGS && (TO) == FR_FP_REGS) ? 4 \
: (((FROM) == BR_REGS && (TO) != GENERAL_REGS) \
|| ((TO) == BR_REGS && (FROM) != GENERAL_REGS)) ? 6 \
: (((FROM) == FR_FP_REGS && (TO) == FR_INT_REGS) \
|| ((FROM) == FR_INT_REGS && (TO) == FR_FP_REGS)) ? 4 \
: 2)
/* A C expression for the cost of moving data of mode M between a register and