rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.

2002-03-05  Richard Henderson  <rth@redhat.com>

        * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.

From-SVN: r50301
This commit is contained in:
Richard Henderson 2002-03-04 20:31:12 -08:00 committed by Aldy Hernandez
parent 75227a33f7
commit 28bcfd4dbb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-03-05 Richard Henderson <rth@redhat.com>
* rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
2002-03-04 Geoffrey Keating <geoffk@redhat.com>
* toplev.c (documented_lang_options): Document more

View File

@ -742,7 +742,7 @@ extern int rs6000_altivec_abi;
#define XER_REGNO 76
#define FIRST_ALTIVEC_REGNO 77
#define LAST_ALTIVEC_REGNO 108
#define TOTAL_ALTIVEC_REGS (LAST_ALTIVEC_REGNO - FIRST_ALTIVEC_REGNO)
#define TOTAL_ALTIVEC_REGS (LAST_ALTIVEC_REGNO - FIRST_ALTIVEC_REGNO + 1)
#define VRSAVE_REGNO 109
/* List the order in which to allocate registers. Each register must be