diff options
author | Nick Clifton <nickc@cygnus.com> | 2000-05-08 17:46:10 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2000-05-08 17:46:10 +0000 |
commit | afc2cd0575ff57470ee0b2a055bbd57d5746aae7 (patch) | |
tree | 37f3c56c580f2e8e31d17ddb4111ea43aa637b89 | |
parent | d207c3f7ffa7bdece0ba89c054c969359379342b (diff) | |
download | gcc-afc2cd0575ff57470ee0b2a055bbd57d5746aae7.zip gcc-afc2cd0575ff57470ee0b2a055bbd57d5746aae7.tar.gz gcc-afc2cd0575ff57470ee0b2a055bbd57d5746aae7.tar.bz2 |
Fix comment describing ELIMINABLE_REGS
From-SVN: r33769
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42955c1..c7cc90b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-05-08 Nick Clifton <nickc@cygnus.com> + + * config/i386/i386.h (ELIMINABLE_REGS): Fix comment. + 2000-05-08 Bruce Korb <bkorb@gnu.org> * fixinc/mkfixinc.sh: fixinc.sco is no longer used diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 007255d..7dc6f9b 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1465,10 +1465,11 @@ pop{l} %0" \ followed by "to". Eliminations of the same "from" register are listed in order of preference. - We have three registers that can be eliminated on the i386. First, the - hard frame pointer register can often be eliminated in favor of the stack - pointer register. Secondly, the argument and frame pointer register can - always be eliminated; They are replaced with either the stack or frame pointer. */ + There are two registers that can always be eliminated on the i386. + The frame pointer and the arg pointer can be replaced by either the + hard frame pointer or to the stack pointer, depending upon the + circumstances. The hard frame pointer is not used before reload and + so it is not eligible for elimination. */ #define ELIMINABLE_REGS \ {{ ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \ |