mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 19:27:12 +08:00
* i386.h (FIRST_PSEUDO_REGISTER): Set to 21. (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Add frame pointer (FRAME_POINTER_REGNUM): Set to 20 (HARD_FRAME_POINTER_REGNUM): New macro. (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER to HARD_FRAME_POINTER. (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise. (REG_OK_FOR_BASE_NONSTRICT_P): Likewise. (HI_REGISTER_NAMES): Add "frame". (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination. (debug_reg): Handle FRAME_POINTER_REGNUM. (reg_class): Add arg pointer and frame pointer to NON_Q_REGS, GENERAL_REGS and INDEX_REGS. * i386.c (SAVED_REGS_FIRST): new macro. (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx (ix86_decompose_address, memory_address_length): Likewise. (regclass_map): Add frame pointer. (call_insn_operand): Handle frame_pointer_rtx. (reg_no_sp_operand): Likewise. (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx. (print_operand, legitimize_pic_address): Fix formating. (ix86_compute_frame_size): Make static, update prototype, new parameters padding1, padding2, use ix86_nsaved_regs, use stack_alignment_needed. (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM conversions. (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues. (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues. (print_reg): Abort on FRAME_POINTER_REGNUM From-SVN: r31587 |
||
---|---|---|
boehm-gc | ||
config | ||
contrib | ||
etc | ||
gcc | ||
include | ||
INSTALL | ||
libchill | ||
libf2c | ||
libffi | ||
libiberty | ||
libio | ||
libjava | ||
libobjc | ||
libstdc++ | ||
texinfo | ||
zlib | ||
.cvsignore | ||
ChangeLog | ||
config-ml.in | ||
config.guess | ||
config.if | ||
config.sub | ||
configure | ||
configure.in | ||
COPYING | ||
COPYING.LIB | ||
install-sh | ||
ltconfig | ||
ltmain.sh | ||
MAINTAINERS | ||
Makefile.in | ||
missing | ||
mkinstalldirs | ||
move-if-change | ||
README | ||
symlink-tree | ||
ylwrap |
README for GNU development tools This directory contains various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation. Check the INSTALL directory for detailed configuration and installation instructions. Much of the code and documentation enclosed is copyright by the Free Software Foundation, Inc. See the file COPYING or COPYING.LIB in the various directories, for a description of the GNU General Public License terms under which you can copy the files. REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info on where and how to report problems.